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 /dev-python/patch/patch-1.16.ebuild
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
Diffstat (limited to 'dev-python/patch/patch-1.16.ebuild')
-rw-r--r--dev-python/patch/patch-1.16.ebuild18
1 files changed, 5 insertions, 13 deletions
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}"