public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tiziano Müller" <dev-zero@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/Shapely/
Date: Sun,  4 Dec 2016 15:23:27 +0000 (UTC)	[thread overview]
Message-ID: <1480864671.a90e779dc40fe495a58b5b8ebd88c7e8bd16ca60.dev-zero@gentoo> (raw)

commit:     a90e779dc40fe495a58b5b8ebd88c7e8bd16ca60
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  4 15:17:51 2016 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Sun Dec  4 15:17:51 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90e779d

sci-libs/Shapely: rev-bump for EAPI 6 bump and fixed deps and tests

Package-Manager: portage-2.3.2

 sci-libs/Shapely/Shapely-1.5.17-r1.ebuild | 48 +++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/sci-libs/Shapely/Shapely-1.5.17-r1.ebuild b/sci-libs/Shapely/Shapely-1.5.17-r1.ebuild
new file mode 100644
index 00000000..14cfe97
--- /dev/null
+++ b/sci-libs/Shapely/Shapely-1.5.17-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Geometric objects, predicates, and operations"
+HOMEPAGE="https://pypi.python.org/pypi/Shapely"
+
+if [[ ${PV} == "9999" ]] ; then
+	inherit git-r3
+	SRC_URI=""
+	EGIT_REPO_URI="https://github.com/Toblerity/${PN}.git"
+else
+	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND=">=sci-libs/geos-3.3
+	dev-python/numpy[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	dev-python/cython[${PYTHON_USEDEP}]
+	test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+	# fix install path for Cython definition file
+	sed -i \
+		-e "s|\(data_files.*\)'shapely'|\1'share/shapely'|" \
+		setup.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	distutils_install_for_testing
+	cd "${TEST_DIR}/lib" || die
+	cp -r "${S}/tests" . || die
+	py.test tests || die
+}


             reply	other threads:[~2016-12-04 15:23 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-04 15:23 Tiziano Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-02  4:47 [gentoo-commits] repo/gentoo:master commit in: sci-libs/shapely/ Michał Górny
2022-07-02  4:47 Michał Górny
2021-09-20  6:55 Arthur Zamarin
2021-07-22 19:13 Dennis Lamm
2021-07-22 17:39 Sam James
2021-07-22  5:49 Sam James
2021-02-07 23:57 Dennis Lamm
2021-02-07 23:57 Dennis Lamm
2020-11-18  6:53 Agostino Sarubbo
2020-11-17 22:01 Thomas Deutschmann
2020-10-23 23:27 Andreas Sturmlechner
2020-10-12 18:59 Dennis Lamm
2020-10-12 18:59 [gentoo-commits] repo/gentoo:master commit in: sci-libs/Shapely/ Dennis Lamm
2020-09-28 20:43 Sam James
2020-09-19 16:34 Sam James
2020-09-13 18:22 Joonas Niilola
2020-07-15  8:06 Joonas Niilola
2020-07-15  8:06 Joonas Niilola
2020-07-15  8:06 Joonas Niilola
2020-07-15  8:06 Joonas Niilola
2020-07-15  8:06 Joonas Niilola
2020-01-31 13:07 Andreas Sturmlechner
2020-01-30 12:14 Agostino Sarubbo
2020-01-16  7:03 Michał Górny
2019-12-31  7:43 Agostino Sarubbo
2019-12-29 23:56 Andreas Sturmlechner
2019-12-03  4:18 Aaron Bauman
2019-12-01 20:19 Andreas Sturmlechner
2019-08-21  4:57 Slawek Lis
2018-06-24 14:09 Jason Zaman
2017-05-29 16:33 Pacho Ramos
2016-10-08 19:17 Slawek Lis

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=1480864671.a90e779dc40fe495a58b5b8ebd88c7e8bd16ca60.dev-zero@gentoo \
    --to=dev-zero@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