diff options
-rw-r--r-- | dev-python/pickleshare/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pickleshare/pickleshare-0.7.2.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/pickleshare/Manifest b/dev-python/pickleshare/Manifest index 476c2a514282..ff799dd4795c 100644 --- a/dev-python/pickleshare/Manifest +++ b/dev-python/pickleshare/Manifest @@ -1,2 +1,3 @@ DIST pickleshare-0.5.tar.gz 4441 SHA256 c0be5745035d437dbf55a96f60b7712345b12423f7d0951bd7d8dc2141ca9286 SHA512 1021b76591b5b1d6c777e03c9544fea63602f719b786a2a2e73590f8e8275156fa69b336adf81a6e8abcaad2263eacd76ce4abf2ceff04126ff6b1ffd96cb4e3 WHIRLPOOL 07907feb8dab2dfbfc74e43d17cc076027ab450091a8dd4af197019c6c46e268eda1d5761ab22fc774e37090ab7d51212d82ba284d89018fbc0f52c38f235c62 DIST pickleshare-0.6.tar.gz 4519 SHA256 2e6064fc69561192f41997ee027336bb0d2e5126f370c9bd250a1050b903ded3 SHA512 5976744830cea1b2bfea5a6e2265c675df4ce3edd70d4dadfa4cb56aaee5e57b30645c31bbf3729a8486b3976b7334976f1c9ab7914bc071a7da3c52c5d426b9 WHIRLPOOL 36e97b02ab9d39a05738c2d1aced0f7f71b6cdc5c66b16763e3a8b94c7a093e4c2e188f00fc26224ff7fa148494d58cd3d8ac68dc0191c731641e7fad80ea2a0 +DIST pickleshare-0.7.2.tar.gz 4664 SHA256 92ee3b0e21632542ecc9a0a245e69a126f62e5114081bdb0d32e0edd10410033 SHA512 2adb8222c1cab81d1097c9eb6aee63556c1d1fb518b7c597b14a0669848dba7f489e9c950cdcd40e4ceceb1806b0523b1429d732b1ab5bc24eb011621a530614 WHIRLPOOL 1209a4d5b16bfa43675ac0ab6fb71891716c9711aef933ddf344c823eee5cc4524a6f6aa955258accfb9dca2189c9aa6da0a6cdd05db8b3048d90a5d3827827c diff --git a/dev-python/pickleshare/pickleshare-0.7.2.ebuild b/dev-python/pickleshare/pickleshare-0.7.2.ebuild new file mode 100644 index 000000000000..2b2a7d26fcce --- /dev/null +++ b/dev-python/pickleshare/pickleshare-0.7.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) + +inherit distutils-r1 + +DESCRIPTION="A small 'shelve' like datastore with concurrency support" +HOMEPAGE="https://github.com/pickleshare/pickleshare" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" + +RDEPEND=" + $(python_gen_cond_dep 'dev-python/pathlib[${PYTHON_USEDEP}]' python2_7 python3_3) + >=dev-python/path-py-6.2[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +# test_pickleshare.py is not included in the pickleshare-0.7.2 source +# we fetched from pipy +RESTRICT="test" + +python_test() { + distutils_install_for_testing + cd "${TEST_DIR}"/lib || die + cp "${S}"/test_pickleshare.py "${TEST_DIR}"/lib/ || die + py.test || die +} |