public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Slawek Lis" <slis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/Shapely/
Date: Wed, 21 Aug 2019 04:57:33 +0000 (UTC)	[thread overview]
Message-ID: <1566363447.9ef07e5b3c16d401d55a22723073926a2fdde6df.slis@gentoo> (raw)

commit:     9ef07e5b3c16d401d55a22723073926a2fdde6df
Author:     Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 04:57:11 2019 +0000
Commit:     Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 04:57:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ef07e5b

sci-libs/Shapely: version bump to 1.6.4_p2

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Slawek Lis <slis <AT> gentoo.org>

 sci-libs/Shapely/Manifest                |  1 +
 sci-libs/Shapely/Shapely-1.6.4_p2.ebuild | 50 ++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/sci-libs/Shapely/Manifest b/sci-libs/Shapely/Manifest
index 35873429646..ab1a676fbf8 100644
--- a/sci-libs/Shapely/Manifest
+++ b/sci-libs/Shapely/Manifest
@@ -1,3 +1,4 @@
 DIST Shapely-1.3.0.tar.gz 118863 BLAKE2B 6a35060b6593519b62b479fdb21047e0a44976109e27a55dbdf7583952666c8cfecf775975be54701696d57d3c5b1082110dd474df265ccf5b467acddcd2a629 SHA512 106f9773a5b00e7269a84c760f3a2b867c48139c48eebeecd524c8216d75c28daaf46eff45c118c1809999e33a317e9aca278a8d83605dc7273877a7ed3edd82
 DIST Shapely-1.3.2.tar.gz 120179 BLAKE2B bc10e017a546e715c05c4edb1aab4f86cb0fd6f1f35ab23f1d8dcdf402c96bbbbaca92668cf9bc788387dac8cabd958cfa3ffff5a90045f2f2a7a6798383cb2d SHA512 23d65c5a7137726e05e0399dc49f05e5ad9b582d4adcdf30215f72ae75989e85daf30ea2a5010d6a5a086cb6bbb5b4599b5065080b845c833776812f6e46566d
 DIST Shapely-1.5.17.tar.gz 180663 BLAKE2B 1a41de8c264989abeac27fe9b63abd81ad6f03f0eecd313131d04190b8bbebc6c6bd6b45b1782fbfd163025cda4977b7e93a24a711c76fddfaedb0fe880cea53 SHA512 eea241942ffbf377001445fab4017c9a2746d6bc0baa6c801a08ca95e608bbdaea7ad9568f00cbecdb559e634402bc6d213ebccb4074e59325e1cc4b3771626d
+DIST Shapely-1.6.4.post2.tar.gz 225745 BLAKE2B 96e995db6dd1464bac7c2562efdc7f298a5f23c388e44f334db685b1cfa1025ff403db870e11328977a267483726504e03b6d7c47fe4234a3a5966a13b2b7311 SHA512 027c816ef2104f654569ca658b52b87c60e5ba6a45927fcc51c23dd1922f3f9f7fdcea3601160b0a999e39611617142833ccac790777093be8b96a0d9083f78f

diff --git a/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild b/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild
new file mode 100644
index 00000000000..50528d9087d
--- /dev/null
+++ b/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+
+inherit distutils-r1 eapi7-ver
+
+DESCRIPTION="Geometric objects, predicates, and operations"
+HOMEPAGE="https://pypi.org/project/Shapely/"
+
+MY_PV="$(ver_cut 1-3).post$(ver_cut 5)"
+
+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}/${PN}-${MY_PV}.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}] )"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+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:[~2019-08-21  4:57 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-21  4:57 Slawek Lis [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
2018-06-24 14:09 Jason Zaman
2017-05-29 16:33 Pacho Ramos
2016-12-04 15:23 Tiziano Müller
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=1566363447.9ef07e5b3c16d401d55a22723073926a2fdde6df.slis@gentoo \
    --to=slis@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