From 20f47d34abf95fcbdac03d936ab9701d9fff2aca Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Sat, 4 Aug 2018 07:32:34 +0000 Subject: dev-python/astor: Bump Package-Manager: Portage-2.3.44, Repoman-2.3.10 --- dev-python/astor/Manifest | 1 + dev-python/astor/astor-0.7.1.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 dev-python/astor/astor-0.7.1.ebuild (limited to 'dev-python/astor') diff --git a/dev-python/astor/Manifest b/dev-python/astor/Manifest index 52ae63501231..da3ec8f5a3f8 100644 --- a/dev-python/astor/Manifest +++ b/dev-python/astor/Manifest @@ -1,2 +1,3 @@ DIST astor-0.5.tar.gz 10999 BLAKE2B 278bf193003dd9f8f2d5c6a33229e3f4013bcf0618dee1d8cc3891ffea031f63ad4f795a3b66e87986bcf377b5f81eb6992d3c47c2234357487443a049d45d31 SHA512 7c940371a6c3ddbc4a6691edb6ee17eef61436912bb873c5c0cba4f3865c9d4f8e077674b14ccc7e319b749898782aaf87e085eedd9ba7f8638130deb67f549b DIST astor-0.6.tar.gz 28684 BLAKE2B 372314e0d92721d3cbb7fe0fe8bc42635e023ca590c4845c8e7c499bc947c3de0a3679fff51a07085d26bca37e83301ef9c0b66548b929a8f018760c8370319c SHA512 4f9598229f8a77901573fa1841716cc810ec8e108b155d8c7c50ab477d794f8ecd1784df66a1272a2739cc968d8eb6632f62b4d6ef067682db05233f127be409 +DIST astor-0.7.1.tar.gz 30633 BLAKE2B fbffcbe9cb372c82741788624674c4397c3534eb2b3f44577174279c38d0c45366b444dab1384a251a74ca87840ce150ab1ce3f0439987ba2a19adca270af74f SHA512 c52fa0b8ec5003c04d978c23361d423283a43be2c027d8d39ce1c45528dbbedb98b2a269ce97152bd9a4c942d95a6ec55720757b7811df4f34bb6744e2fff781 diff --git a/dev-python/astor/astor-0.7.1.ebuild b/dev-python/astor/astor-0.7.1.ebuild new file mode 100644 index 000000000000..39071f8adc5e --- /dev/null +++ b/dev-python/astor/astor-0.7.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Read/rewrite/write Python ASTs" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +HOMEPAGE="https://pypi.org/project/astor/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_prepare_all() { + #avoid file collisions picked up by the eclass + sed -e s":find_packages():find_packages(exclude=['tests']):" -i setup.py || die + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" -m unittest discover || die "tests failed under ${EPYTHON}" +} -- cgit v1.2.3-65-gdbad