summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2016-10-25 00:34:56 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2016-10-29 00:42:36 +0000
commit20bbae7d47bb422e771744bd997c77ea2fcdbfe8 (patch)
tree5389d5dc8f715c31a98acdd9c33e6ba3e59cbed0
parentdev-python/fasteners: version bump (diff)
downloadgentoo-20bbae7d47bb422e771744bd997c77ea2fcdbfe8.tar.gz
gentoo-20bbae7d47bb422e771744bd997c77ea2fcdbfe8.tar.bz2
gentoo-20bbae7d47bb422e771744bd997c77ea2fcdbfe8.zip
dev-python/patch: package with setuptools for conan
Package-Manager: portage-2.3.2
-rw-r--r--dev-python/patch/Manifest2
-rw-r--r--dev-python/patch/patch-1.16.ebuild18
2 files changed, 6 insertions, 14 deletions
diff --git a/dev-python/patch/Manifest b/dev-python/patch/Manifest
index de28dcebf583..bacb84208429 100644
--- a/dev-python/patch/Manifest
+++ b/dev-python/patch/Manifest
@@ -1 +1 @@
-DIST patch-1.16.tar.gz 161043 SHA256 03a5d8774569e2adc1863e596104889bb00f5fba99ff931383c40790bd1e5eb1 SHA512 1e8a1a05d9127db83b6f6a0d491c99543e16d5222181787ec934310ad85a3b84894691b8adf41fee16ab17f090c112fd5d57d99831b5fb29e4f9924c1069c0f4 WHIRLPOOL b210cb692fa1401dc8a7e58ee20290130a9a2fd1fa1bc8902ba09fab519b0232d0c072cf7a675568df469b8f83f5ee4f070d2ea7ad0ac812a051e5d68595a179
+DIST patch-1.16.zip 12809 SHA256 c62073f356cff054c8ac24496f1a3d7cfa137835c31e9af39a9f5292fd75bd9f SHA512 563be07f0376e6ddcf7fa500006d57def4faa2d9fdbd5232afac625d17d9621787de60dc67f0895e1f54f1d5cf0920594ade0985f1dfb7796f131acc92cd7f0b WHIRLPOOL 9922686830093745168256c106fbc0a26ef17f40992a6b2bb3fd9c48bb0d6f6c978a90f886713eda4a2471f135740549ff7de76e4d14bdf58cae38bb46814ac0
diff --git a/dev-python/patch/patch-1.16.ebuild b/dev-python/patch/patch-1.16.ebuild
index 7c917ccb3188..1c022279c33e 100644
--- a/dev-python/patch/patch-1.16.ebuild
+++ b/dev-python/patch/patch-1.16.ebuild
@@ -6,26 +6,18 @@ EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} )
-inherit python-r1
+inherit distutils-r1
DESCRIPTION="Library to parse and apply unified diffs"
HOMEPAGE="https://github.com/techtonik/python-patch/"
-SRC_URI="https://github.com/techtonik/python-patch/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ app-arch/unzip"
-S="${WORKDIR}/python-${P}"
-
-src_test() {
- python_foreach_impl tests/run_tests.py
-}
-
-src_install() {
- default
- python_foreach_impl python_doexe patch.py
-}
+S="${WORKDIR}"