public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pickleshare/
Date: Wed,  3 Jun 2015 10:21:36 +0000 (UTC)	[thread overview]
Message-ID: <1433058617.aedf1a2eec2399ccab179a70adcf640935f9ba0b.jlec@gentoo> (raw)

commit:     aedf1a2eec2399ccab179a70adcf640935f9ba0b
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun May 31 07:50:17 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun May 31 07:50:17 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=aedf1a2e

dev-python/pickleshare: Initial ebuild (required for >dev-python/ipython-3.1.0)

Package-Manager: portage-2.2.18

 dev-python/pickleshare/ChangeLog               | 10 +++++++
 dev-python/pickleshare/metadata.xml            | 14 +++++++++
 dev-python/pickleshare/pickleshare-0.5.ebuild  |  1 +
 dev-python/pickleshare/pickleshare-9999.ebuild | 39 ++++++++++++++++++++++++++
 4 files changed, 64 insertions(+)

diff --git a/dev-python/pickleshare/ChangeLog b/dev-python/pickleshare/ChangeLog
new file mode 100644
index 0000000..1f9401c
--- /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/metadata.xml b/dev-python/pickleshare/metadata.xml
new file mode 100644
index 0000000..6cdedef
--- /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 0000000..16ddbe4
--- /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 0000000..5c56ccb
--- /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
+}


             reply	other threads:[~2015-06-03 10:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-03 10:21 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-09-21 19:05 [gentoo-commits] proj/sci:master commit in: dev-python/pickleshare/ Justin Lecher
2015-10-21 13:44 Justin Lecher
2015-11-28 17:58 Marius Brehler
2016-05-18  7:05 Marius Brehler
2017-01-03 10:31 Marius Brehler
2020-09-21 23:41 Aisha Tammy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433058617.aedf1a2eec2399ccab179a70adcf640935f9ba0b.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox