diff options
author | Marius Brehler <marbre@linux.sungazer.de> | 2015-05-31 09:50:17 +0200 |
---|---|---|
committer | Marius Brehler <marbre@linux.sungazer.de> | 2015-05-31 09:50:17 +0200 |
commit | aedf1a2eec2399ccab179a70adcf640935f9ba0b (patch) | |
tree | a23929b7444e4a62d7a67393f567d78ec2c094a9 /dev-python | |
parent | Merge pull request #430 from marbre/pyfftw (diff) | |
download | sci-aedf1a2eec2399ccab179a70adcf640935f9ba0b.tar.gz sci-aedf1a2eec2399ccab179a70adcf640935f9ba0b.tar.bz2 sci-aedf1a2eec2399ccab179a70adcf640935f9ba0b.zip |
dev-python/pickleshare: Initial ebuild (required for >dev-python/ipython-3.1.0)
Package-Manager: portage-2.2.18
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pickleshare/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pickleshare/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pickleshare/metadata.xml | 14 | ||||
l--------- | dev-python/pickleshare/pickleshare-0.5.ebuild | 1 | ||||
-rw-r--r-- | dev-python/pickleshare/pickleshare-9999.ebuild | 39 |
5 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/pickleshare/ChangeLog b/dev-python/pickleshare/ChangeLog new file mode 100644 index 000000000..1f9401c43 --- /dev/null +++ b/dev-python/pickleshare/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/pickleshare +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*pickleshare-0.5 (31 May 2015) +*pickleshare-9999 (31 May 2015) + + 31 May 2015; Marius Brehler <marbre@linux.sungazer.de> +metadata.xml, + +pickleshare-0.5.ebuild, +pickleshare-9999.ebuild: + Initial ebuild (required for >dev-python/ipython-3.1.0) diff --git a/dev-python/pickleshare/Manifest b/dev-python/pickleshare/Manifest new file mode 100644 index 000000000..79e862d1c --- /dev/null +++ b/dev-python/pickleshare/Manifest @@ -0,0 +1 @@ +DIST pickleshare-0.5.tar.gz 4441 SHA256 c0be5745035d437dbf55a96f60b7712345b12423f7d0951bd7d8dc2141ca9286 SHA512 1021b76591b5b1d6c777e03c9544fea63602f719b786a2a2e73590f8e8275156fa69b336adf81a6e8abcaad2263eacd76ce4abf2ceff04126ff6b1ffd96cb4e3 WHIRLPOOL 07907feb8dab2dfbfc74e43d17cc076027ab450091a8dd4af197019c6c46e268eda1d5761ab22fc774e37090ab7d51212d82ba284d89018fbc0f52c38f235c62 diff --git a/dev-python/pickleshare/metadata.xml b/dev-python/pickleshare/metadata.xml new file mode 100644 index 000000000..6cdedef5b --- /dev/null +++ b/dev-python/pickleshare/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <longdescription> + Like shelve, a PickleShareDB object acts like a normal dictionary. + Unlike shelve, many processes can access the database + simultaneously. Changing a value in database is immediately visible + to other processes accessing the same database. + Concurrency is possible because the values are stored in separate + files. Hence the "database" is a directory where all files are + governed by PickleShare. + </longdescription> +</pkgmetadata> diff --git a/dev-python/pickleshare/pickleshare-0.5.ebuild b/dev-python/pickleshare/pickleshare-0.5.ebuild new file mode 120000 index 000000000..16ddbe44b --- /dev/null +++ b/dev-python/pickleshare/pickleshare-0.5.ebuild @@ -0,0 +1 @@ +pickleshare-9999.ebuild
\ No newline at end of file diff --git a/dev-python/pickleshare/pickleshare-9999.ebuild b/dev-python/pickleshare/pickleshare-9999.ebuild new file mode 100644 index 000000000..5c56ccb9c --- /dev/null +++ b/dev-python/pickleshare/pickleshare-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python{3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="A small 'shelve' like datastore with concurrency support" +HOMEPAGE="https://github.com/pickleshare/pickleshare" + +if [ ${PV} == "9999" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git git://github.com/${PN}/${PN}.git" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64" + # test_pickleshare.py is not included in the pickleshare-0.5 source + # we fetched from pipy + RESTRICT="test" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" + +RDEPEND=" + dev-python/path-py[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + distutils_install_for_testing + cd "${TEST_DIR}"/lib || die + cp "${S}"/test_pickleshare.py "${TEST_DIR}"/lib/ || die + py.test || die +} |