summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-07-13 23:36:32 +0200
committerMichał Górny <mgorny@gentoo.org>2016-07-13 23:44:15 +0200
commit222f7ce770b2cd520484e1c7998560efa5171d52 (patch)
tree27b0de07cac0cec96d675578d7bbc829e2295b8a /app-portage
parentwww-servers/tomcat: version bump in slot 9 (diff)
downloadgentoo-222f7ce770b2cd520484e1c7998560efa5171d52.tar.gz
gentoo-222f7ce770b2cd520484e1c7998560efa5171d52.tar.bz2
gentoo-222f7ce770b2cd520484e1c7998560efa5171d52.zip
app-portage/cpuinfo2cpuflags: Update homepage and URIs
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-1.ebuild10
-rw-r--r--app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-2.ebuild7
-rw-r--r--app-portage/cpuinfo2cpuflags/metadata.xml2
3 files changed, 13 insertions, 6 deletions
diff --git a/app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-1.ebuild b/app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-1.ebuild
index 2954fe7f013a..e31a359545a3 100644
--- a/app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-1.ebuild
+++ b/app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-1.ebuild
@@ -8,9 +8,11 @@ PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
inherit python-r1
+MY_PN=cpuinfo2cpuflags
+MY_P=${MY_PN}-${PV}
DESCRIPTION="Script to guess CPU_FLAGS_X86 flags from /proc/cpuinfo"
-HOMEPAGE="https://bitbucket.org/mgorny/cpuinfo2cpuflags"
-SRC_URI="https://bitbucket.org/mgorny/cpuinfo2cpuflags/downloads/${P}.tar.gz"
+HOMEPAGE="https://github.com/mgorny/cpuid2cpuflags"
+SRC_URI="https://github.com/mgorny/cpuid2cpuflags/releases/download/v${PV}/${MY_P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
@@ -20,8 +22,10 @@ IUSE=""
RDEPEND=${PYTHON_DEPS}
REQUIRED_USE=${PYTHON_REQUIRED_USE}
+S=${WORKDIR}/${MY_P}
+
src_install() {
- python_foreach_impl python_newscript "${PN}-x86"{.py,}
+ python_foreach_impl python_newscript "${MY_PN}-x86"{.py,}
}
pkg_postinst() {
diff --git a/app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-2.ebuild b/app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-2.ebuild
index 02af3a821e43..5c625c7cf062 100644
--- a/app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-2.ebuild
+++ b/app-portage/cpuinfo2cpuflags/cpuinfo2cpuflags-2.ebuild
@@ -4,11 +4,14 @@
EAPI=5
+MY_P=cpuinfo2cpuflags-${PV}
DESCRIPTION="Tool to guess CPU_FLAGS_X86 flags for the host"
-HOMEPAGE="https://bitbucket.org/mgorny/cpuinfo2cpuflags"
-SRC_URI="https://bitbucket.org/mgorny/cpuinfo2cpuflags/downloads/${P}.tar.bz2"
+HOMEPAGE="https://github.com/mgorny/cpuid2cpuflags"
+SRC_URI="https://github.com/mgorny/cpuid2cpuflags/releases/download/v${PV}/${MY_P}.tar.bz2"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""
+
+S=${WORKDIR}/${MY_P}
diff --git a/app-portage/cpuinfo2cpuflags/metadata.xml b/app-portage/cpuinfo2cpuflags/metadata.xml
index 6e2ac5e4d689..422aab7218c1 100644
--- a/app-portage/cpuinfo2cpuflags/metadata.xml
+++ b/app-portage/cpuinfo2cpuflags/metadata.xml
@@ -6,6 +6,6 @@
<name>Michał Górny</name>
</maintainer>
<upstream>
- <remote-id type="bitbucket">mgorny/cpuinfo2cpuflags</remote-id>
+ <remote-id type="github">mgorny/cpuid2cpuflags</remote-id>
</upstream>
</pkgmetadata>