public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/dev-zero:master commit in: dev-python/pycapnp/
@ 2015-09-10 14:20 Tiziano Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Müller @ 2015-09-10 14:20 UTC (permalink / raw
  To: gentoo-commits

commit:     b8c17891afef85702770b7ec3eed6e175e6f9cb9
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 10 14:20:39 2015 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 14:20:39 2015 +0000
URL:        https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=b8c17891

dev-python/pycapnp: initial commit

 dev-python/pycapnp/Manifest             |  1 +
 dev-python/pycapnp/pycapnp-0.5.7.ebuild | 41 +++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/pycapnp/Manifest b/dev-python/pycapnp/Manifest
new file mode 100644
index 0000000..7b1e017
--- /dev/null
+++ b/dev-python/pycapnp/Manifest
@@ -0,0 +1 @@
+DIST pycapnp-0.5.7.tar.gz 433772 SHA256 28e2335f8b50f07f853e108038b33ccf2cbf356822f37582dc8e84f9535a1446 SHA512 fe61e49a7d83fc81c773be5b50c58b354c9b3bde0413f931602d9b8f490a35ab0f5648e9515454e3bcfbb1687dea554a989468014eaf0920a3c0a39c06ab7f57 WHIRLPOOL 7c84f5b5689b8e8af2e3b7e357ab3b2c19e928fb392f0e173b56d84bfcff2e408547017debf10b68d3b67534c91a95e3881822fdb96a301a9b20c3e762ac6e56

diff --git a/dev-python/pycapnp/pycapnp-0.5.7.ebuild b/dev-python/pycapnp/pycapnp-0.5.7.ebuild
new file mode 100644
index 0000000..a764971
--- /dev/null
+++ b/dev-python/pycapnp/pycapnp-0.5.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="A cython wrapping of the C++ Cap'n Proto library"
+HOMEPAGE="https://pypi.python.org/pypi/pycapnp"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="dev-libs/capnproto:=
+	dev-python/jinja[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+# the tests directory is missing the *.capnp files
+RESTRICT="test"
+
+python_prepare_all() {
+	# fix import (which is not required when running via pip)
+	sed -i -e 's|from distutils.core|from setuptools|' setup.py || die
+	distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+	mydistutilsargs=( --force-system-libcapnp )
+}
+
+python_test() {
+	py.test -v || die
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/dev-zero:master commit in: dev-python/pycapnp/
@ 2015-09-11 10:48 Tiziano Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Müller @ 2015-09-11 10:48 UTC (permalink / raw
  To: gentoo-commits

commit:     8f3f3105147a825375f25361d6b9245d6b6f7c92
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 10:48:37 2015 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 10:48:37 2015 +0000
URL:        https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=8f3f3105

dev-python/pycapnp: bump to working git commit

 dev-python/pycapnp/Manifest                                      | 1 -
 .../{pycapnp-0.5.7.ebuild => pycapnp-0.5.8_pre20150713.ebuild}   | 9 ++++-----
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-python/pycapnp/Manifest b/dev-python/pycapnp/Manifest
deleted file mode 100644
index 7b1e017..0000000
--- a/dev-python/pycapnp/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pycapnp-0.5.7.tar.gz 433772 SHA256 28e2335f8b50f07f853e108038b33ccf2cbf356822f37582dc8e84f9535a1446 SHA512 fe61e49a7d83fc81c773be5b50c58b354c9b3bde0413f931602d9b8f490a35ab0f5648e9515454e3bcfbb1687dea554a989468014eaf0920a3c0a39c06ab7f57 WHIRLPOOL 7c84f5b5689b8e8af2e3b7e357ab3b2c19e928fb392f0e173b56d84bfcff2e408547017debf10b68d3b67534c91a95e3881822fdb96a301a9b20c3e762ac6e56

diff --git a/dev-python/pycapnp/pycapnp-0.5.7.ebuild b/dev-python/pycapnp/pycapnp-0.5.8_pre20150713.ebuild
similarity index 82%
rename from dev-python/pycapnp/pycapnp-0.5.7.ebuild
rename to dev-python/pycapnp/pycapnp-0.5.8_pre20150713.ebuild
index a764971..4106a50 100644
--- a/dev-python/pycapnp/pycapnp-0.5.7.ebuild
+++ b/dev-python/pycapnp/pycapnp-0.5.8_pre20150713.ebuild
@@ -6,11 +6,12 @@ EAPI=5
 
 PYTHON_COMPAT=( python{2_7,3_4} pypy )
 
-inherit distutils-r1
+inherit distutils-r1 git-r3
 
 DESCRIPTION="A cython wrapping of the C++ Cap'n Proto library"
 HOMEPAGE="https://pypi.python.org/pypi/pycapnp"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+EGIT_REPO_URI="https://github.com/jparyani/pycapnp.git"
+EGIT_COMMIT="3357771b393d4c4d218dfbc178e4715ca63b97da"
 
 LICENSE="BSD-2"
 SLOT="0"
@@ -21,11 +22,9 @@ RDEPEND="dev-libs/capnproto:=
 	dev-python/jinja[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}
 	dev-python/setuptools[${PYTHON_USEDEP}]
+	dev-python/cython[${PYTHON_USEDEP}]
 	test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
 
-# the tests directory is missing the *.capnp files
-RESTRICT="test"
-
 python_prepare_all() {
 	# fix import (which is not required when running via pip)
 	sed -i -e 's|from distutils.core|from setuptools|' setup.py || die


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-11 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-10 14:20 [gentoo-commits] dev/dev-zero:master commit in: dev-python/pycapnp/ Tiziano Müller
  -- strict thread matches above, loose matches on Subject: below --
2015-09-11 10:48 Tiziano Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox