dev-python/snakeoil: version bump to 0.7.2

This commit is contained in:
Tim Harder
2017-09-22 17:51:56 -04:00
parent 8553e971f7
commit bd13ccc245
3 changed files with 38 additions and 2 deletions

View File

@@ -1 +1,2 @@
DIST snakeoil-0.7.1.tar.gz 214261 SHA256 e210db2713da8431eea6b6b3afc98bea829c6612733e6309871b2614d08dcc5b SHA512 1c0d03d50a1738cbb3cceecec9445585d089ea535657467871930cca7282d3426780451fb45774e16b05714a1da13766d68f62def7a2d957e2124bd71335d0a0 WHIRLPOOL aa20cabbceaae564802b8ed5a7a6e5dc1039d27021d477179bcad28d4317b875cbddb889e7196fc1c091a802dd28f8c7efe1c6680b170a54c5e2b07c23052623
DIST snakeoil-0.7.2.tar.gz 292620 SHA256 00354c15f77ae4bec7a33a598ec5d00af4b415b30352fbbe2acdcaceb64a9218 SHA512 99a130eb5433cda22faf07eb988927e76c99965016935f2310146a160484501446846539a09733ded494970f886ef039cf307ff45627ad8dd9d2cc00b2bb1fc7 WHIRLPOOL 23fbd32b8263b398843bf663abd673127eb361ec70b103af67ed6a6b50a737650997c1e4a99038d37f8f6729ce7adb5805840e73f9b2de69aabdfd8cdcda913c

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/pkgcore/snakeoil.git"
inherit git-r3
else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
fi
DESCRIPTION="misc common functionality and useful optimizations"
HOMEPAGE="https://github.com/pkgcore/snakeoil"
LICENSE="BSD"
SLOT="0"
IUSE="test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
[[ ${PV} == 9999 ]] && DEPEND+=" $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' 'python3*')"
python_configure_all() {
# disable snakeoil 2to3 caching
unset PY2TO3_CACHEDIR
}
python_test() {
esetup.py test
}

View File

@@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
SRC_URI="https://github.com/pkgcore/${PN}/releases/download/v${PV}/${P}.tar.gz"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
fi
DESCRIPTION="misc common functionality and useful optimizations"
@@ -22,8 +22,8 @@ SLOT="0"
IUSE="test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' 'python3*')
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
[[ ${PV} == 9999 ]] && DEPEND+=" $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' 'python3*')"
python_configure_all() {
# disable snakeoil 2to3 caching