dev-python/pychroot: version bump to 0.9.14
authorTim Harder <radhermit@gentoo.org>
Sat, 28 May 2016 20:32:34 +0000 (16:32 -0400)
committerTim Harder <radhermit@gentoo.org>
Sat, 28 May 2016 20:37:45 +0000 (16:37 -0400)
dev-python/pychroot/Manifest
dev-python/pychroot/pychroot-0.9.14.ebuild [new file with mode: 0644]
dev-python/pychroot/pychroot-9999.ebuild

index d328ae667f954cc63f393f18a7056b12022a9133..1258e68e36ce219e6f6901311ebf0f25e6186659 100644 (file)
@@ -1 +1,2 @@
 DIST pychroot-0.9.13.tar.gz 25610 SHA256 e94c9c738402f4957e757aa1fdcd2febeaa7cc01df1b1ca0d6adf3324a8bbfce SHA512 ec2773e9285905aa1fc83a69653e830fc83c42c306760bbc9a8bf48cd388b99485a7ec30eef32ef4cc98cf25fe12b9ac1d09ae379c25d4c756d3afbffdfc2243 WHIRLPOOL bff205fb563e7e3f9603a639310cbf24ec10234e96e813082aeec94bc5cb3155947f818f53713a09f0626e5dad21a4d0b4c1c49d26eeb894677872e30bef92b7
+DIST pychroot-0.9.14.tar.gz 29494 SHA256 34168fbc4e8cd50b23ae6248c0c5c669f3b9cd2396f96a961ea4e06abb7c1203 SHA512 3a043d97464bf669fd92b316179f4b3fc8462fe3a84f66aba16e99f7b7e84c382bb146b0dca5b03902235f99636b5693d7de8545f73f5756a2cbb80d73311896 WHIRLPOOL bd9748ad3f821f18808f0bb7c2d0758213934bb57b075f14f01594012609a1d6269bddbc673de47e8d9715a15e8f46d63410c0f4ee3aa08439250ea72fb3cbd3
diff --git a/dev-python/pychroot/pychroot-0.9.14.ebuild b/dev-python/pychroot/pychroot-0.9.14.ebuild
new file mode 100644 (file)
index 0000000..99a012a
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+inherit distutils-r1
+
+if [[ ${PV} == *9999 ]] ; then
+       EGIT_REPO_URI="https://github.com/pkgcore/pychroot.git"
+       inherit git-r3
+else
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="https://github.com/pkgcore/${PN}/releases/download/v${PV}/${P}.tar.gz"
+fi
+
+DESCRIPTION="a python library and cli tool that simplify chroot handling"
+HOMEPAGE="https://github.com/pkgcore/pychroot"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="
+       >=dev-python/snakeoil-0.7.0[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? (
+               $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
+               dev-python/pytest[${PYTHON_USEDEP}]
+       )"
+[[ ${PV} == *9999 ]] && DEPEND+=" dev-python/sphinx[${PYTHON_USEDEP}]"
+
+python_compile_all() {
+       esetup.py build_man
+}
+
+python_test() {
+       esetup.py test
+}
+
+python_install_all() {
+       local DOCS=( NEWS.rst README.rst )
+       distutils-r1_python_install install_man
+       distutils-r1_python_install_all
+}
index 31a2e75034b3f3091d88586d2a08e24ea72d98c9..b3c192a6f874ee8d642cc310c883b967a57c11ec 100644 (file)
@@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then
        inherit git-r3
 else
        KEYWORDS="~amd64 ~x86"
-       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+       SRC_URI="https://github.com/pkgcore/${PN}/releases/download/v${PV}/${P}.tar.gz"
 fi
 
 DESCRIPTION="a python library and cli tool that simplify chroot handling"