summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2018-04-09 11:53:09 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2018-04-09 12:15:14 +0200
commitca9c2a5db1f4786c4ea1006884012c8c6be34116 (patch)
tree4421f9081d7babeaa09c0b3442e3a161e2f24e1a /dev-python
parentapp-text/paperwork: 1.2.4 bump (diff)
downloadgentoo-ca9c2a5db1f4786c4ea1006884012c8c6be34116.tar.gz
gentoo-ca9c2a5db1f4786c4ea1006884012c8c6be34116.tar.bz2
gentoo-ca9c2a5db1f4786c4ea1006884012c8c6be34116.zip
dev-python/libpillowfight: switch to pypi releases
Update metadata links Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/libpillowfight/Manifest2
-rw-r--r--dev-python/libpillowfight/libpillowfight-0.2.3-r1.ebuild (renamed from dev-python/libpillowfight/libpillowfight-0.2.3.ebuild)9
-rw-r--r--dev-python/libpillowfight/metadata.xml3
3 files changed, 8 insertions, 6 deletions
diff --git a/dev-python/libpillowfight/Manifest b/dev-python/libpillowfight/Manifest
index d98340a94216..cfdb5bd70d75 100644
--- a/dev-python/libpillowfight/Manifest
+++ b/dev-python/libpillowfight/Manifest
@@ -1,2 +1,2 @@
DIST libpillowfight-0.2.2.tar.gz 23125494 BLAKE2B b9620b0e574869d1efcc9449e09f281a5d2611ec15f144ee24b385b5f6f693f037c844904f0abc715d49125df7d1a27d6c433aed83b33371b3f07310be8288db SHA512 76dcaf9105b4dbbe427851d794e92ba023453e2d750ecdd4e3feb864534f9d99adb562b719b7c9af299ae16c0778b510ab96b4997cf9bcc6ea4c6f8f7471ae8a
-DIST libpillowfight-0.2.3.tar.gz 14567996 BLAKE2B 2b3f289f8a86b2b50004adb158dd992fd18bdaac17f21de6f3a9493c8a54a869a788a71d71257845de43f6fa048789944d1b49fd2da190919dad18db7f7d70d0 SHA512 a1098776157a2f552c84bc0e36d8d69ec59e2405bb351253ebf4c5c241fe1ce0de01fac20b4240d010d555afaf4d2c269adce8c89894ab301e14f8c891a744da
+DIST pypillowfight-0.2.3.tar.gz 39416 BLAKE2B e216ddb1717189c142fc3d81d41c91855c52468e1af350d8f5db470f8901bd883223cad56dc8ced9cf61e90e511e0a5ef508ec6966a7f01a837e2bb0d393589f SHA512 6d3e35ed567d66060f5bf4307b0bd7d9ee5c3e7ec430e6e04ee6a1e83e18ff829a7681a85186e6b2151f043f66453c12a60e7cce56c0558da3d72f1fce155097
diff --git a/dev-python/libpillowfight/libpillowfight-0.2.3.ebuild b/dev-python/libpillowfight/libpillowfight-0.2.3-r1.ebuild
index 72af33a9a741..b18a134d6486 100644
--- a/dev-python/libpillowfight/libpillowfight-0.2.3.ebuild
+++ b/dev-python/libpillowfight/libpillowfight-0.2.3-r1.ebuild
@@ -6,9 +6,11 @@ PYTHON_COMPAT=( python3_{4,5,6} )
inherit distutils-r1
+MY_PN="pypillowfight"
+
DESCRIPTION="Small library containing various image processing algorithms"
HOMEPAGE="https://github.com/openpaperwork/libpillowfight"
-SRC_URI="https://github.com/openpaperwork/libpillowfight/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
@@ -19,10 +21,9 @@ RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+S=${WORKDIR}/${MY_PN}-${PV}
+
python_prepare_all() {
sed -e "/'nose>=1.0'/d" -i setup.py || die
distutils-r1_python_prepare_all
-
- # Upstream Makefile requires git checkout
- echo "#define INTERNAL_PILLOWFIGHT_VERSION \"${PV}\"" > src/pillowfight/_version.h || die
}
diff --git a/dev-python/libpillowfight/metadata.xml b/dev-python/libpillowfight/metadata.xml
index ce9bac02678d..c7823a9260d8 100644
--- a/dev-python/libpillowfight/metadata.xml
+++ b/dev-python/libpillowfight/metadata.xml
@@ -6,6 +6,7 @@
<name>Bernard Cafarelli</name>
</maintainer>
<upstream>
- <remote-id type="github">jflesch/libpillowfight</remote-id>
+ <remote-id type="pypi">pypillowfight</remote-id>
+ <remote-id type="github">openpaperwork/libpillowfight</remote-id>
</upstream>
</pkgmetadata>