summaryrefslogtreecommitdiff
path: root/sci-libs/Shapely
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/Shapely')
-rw-r--r--sci-libs/Shapely/Manifest12
-rw-r--r--sci-libs/Shapely/Shapely-1.3.0.ebuild28
-rw-r--r--sci-libs/Shapely/Shapely-1.3.2.ebuild28
-rw-r--r--sci-libs/Shapely/Shapely-1.5.17-r1.ebuild47
-rw-r--r--sci-libs/Shapely/Shapely-1.5.17.ebuild32
-rw-r--r--sci-libs/Shapely/Shapely-9999.ebuild27
-rw-r--r--sci-libs/Shapely/files/setup_unicode.patch23
-rw-r--r--sci-libs/Shapely/metadata.xml10
8 files changed, 207 insertions, 0 deletions
diff --git a/sci-libs/Shapely/Manifest b/sci-libs/Shapely/Manifest
new file mode 100644
index 000000000000..1d0ee3046c76
--- /dev/null
+++ b/sci-libs/Shapely/Manifest
@@ -0,0 +1,12 @@
+AUX setup_unicode.patch 698 SHA256 507d6fb5a65ceeceb788c1a17efc96cd34fbd5912c2ddb37f606ffab2dc3d927 SHA512 f3e2766a1da5586a5c534d4e2eae1a00545d5af90e0f7ce92d2a1e38644f07b6db90c7ab20742d390e79198b6d5957900a7cd6777515a773fab2f1f98e09c8dd WHIRLPOOL fdf1f6badda690465169a9f7a660f78fec54b94ea60f36ab33bc7d529223df9f3d894607754c6659fefb1702c1bc73412c33961ccb7367782c3bd0105f4e2924
+DIST Shapely-1.3.0.tar.gz 118863 SHA256 297df004aec27e38ed93987e93ff5f8187cd0299394fe8b0b9028566015a9bb5 SHA512 106f9773a5b00e7269a84c760f3a2b867c48139c48eebeecd524c8216d75c28daaf46eff45c118c1809999e33a317e9aca278a8d83605dc7273877a7ed3edd82 WHIRLPOOL ddf42cab233b0950a4a955070c5a2a7791a7f259ba857778689944c7799484f7c1aa710926c37c8c66deaae5ab4f03d79fa2f407e8e6d05238217b529e7b1b15
+DIST Shapely-1.3.2.tar.gz 120179 SHA256 9f0de51c71373fcee4962f79f4813d67ea1e711f4394d7636c929a4019c5c2ff SHA512 23d65c5a7137726e05e0399dc49f05e5ad9b582d4adcdf30215f72ae75989e85daf30ea2a5010d6a5a086cb6bbb5b4599b5065080b845c833776812f6e46566d WHIRLPOOL 37836bd5597e485fe4ac8bb0994724fd7cde59bc2d57becd0e89547c0b561d147ff9bea3d99b1429c8a163538a7af7deb8416a4e5dfb8c9f7dff5322e81b2fb6
+DIST Shapely-1.5.17.tar.gz 180663 SHA256 31fee47d9208078a19f40a451c0c99c085d16343e66cbd0dd5af0af6f48cfc3a SHA512 eea241942ffbf377001445fab4017c9a2746d6bc0baa6c801a08ca95e608bbdaea7ad9568f00cbecdb559e634402bc6d213ebccb4074e59325e1cc4b3771626d WHIRLPOOL e28ffd196edc0bdfe2da86351410fb57bda774ecf7283c890f002261ab586351625a7d15aede0310de03175330fa522da693e8397c74857d606ed23a2de78547
+EBUILD Shapely-1.3.0.ebuild 619 SHA256 ff2001c7119e0e75322f100ac506cfe44bb0be5e8a84ba6028bb09b0feaaa0fb SHA512 65c19d3e6275870de8feb6d890a3f862e00915638eafb3aae22d018b4a5f4d77eb3592f5ac21ce885d5d37aee419ac448e03d74cdbce7c417cbcc413281c7737 WHIRLPOOL fb195f06770118e8de527793ce5d88c73299410e0300b1c13692e6833807b9cd42624e7b85f2ce9d745dd711bb241926aa9c80310cf4e45e0a6b0b3fae7f7b36
+EBUILD Shapely-1.3.2.ebuild 619 SHA256 ff2001c7119e0e75322f100ac506cfe44bb0be5e8a84ba6028bb09b0feaaa0fb SHA512 65c19d3e6275870de8feb6d890a3f862e00915638eafb3aae22d018b4a5f4d77eb3592f5ac21ce885d5d37aee419ac448e03d74cdbce7c417cbcc413281c7737 WHIRLPOOL fb195f06770118e8de527793ce5d88c73299410e0300b1c13692e6833807b9cd42624e7b85f2ce9d745dd711bb241926aa9c80310cf4e45e0a6b0b3fae7f7b36
+EBUILD Shapely-1.5.17-r1.ebuild 1062 SHA256 28c29fd3e634522c8373517640699b1a47cdafe0aa120c929e1a91941b689580 SHA512 d69c93293df4f4a534b628bf08f40b7ada8e1958beb0020490dc48b447ec5ae29dab29bfa5f13eb72edc1c69ffcd8b05728ce11eb3ae353793e90a0eca28b379 WHIRLPOOL 7cfb51d4613da02e70d7b52e0aafd0dfe3a69ebbc0289738e001eb91479da8f85860b1fec538e3fe1a6cd5315399db587c27da0767810f40ea056fad25be7c71
+EBUILD Shapely-1.5.17.ebuild 698 SHA256 ead46561d5905fdefba4b8ee14bafc0349c40f2d80ca8ac750c5d7d01c84f59a SHA512 d759afe50f4257a5c6a52be2ee1581955241cd124205767dec23f6325d915c130843cd5e283df7b4d552b433a8bd910b5ab88bfb55368abebb3f2eedde626da1 WHIRLPOOL 4e0fbb2f82374d29400969e4d0878b02b332ed0ee9f37be1ff94ba2d0242165d7f04d574074c9b1d90d0f7f62c4b31570ade9db7345d86b34cda7e2865b9268e
+EBUILD Shapely-9999.ebuild 588 SHA256 ec7f97dc2ea7a00bd01a6459b0ba70c50b8e7c7be476958454f1836cc2cab3b0 SHA512 a0e1c2b9784cdfc7f321a2bdf4f9c17ca3dd4462ce2b1f35d06fa69896c0b2073bbf956206a67e1b1043a191726546503e387e79db8497861fcd65e30f370ab9 WHIRLPOOL d3838fd6273cc58041b0b9d5700035687611931c5b7441f1907f36afd2601ff486e0b6bf440b8ad2ac043575dea2ed82dd0582078315b61e403f20387f4140a2
+MISC ChangeLog 2866 SHA256 884461af2f078b4a2f6259877ad041011e57e5c409bfb86f280f1e4cd12bacf7 SHA512 cfefd4e5464b6bf24c7e00dccfd715cd21b793394f5933a4b4e47cc468c5d819d7141ca647853ad853792bba562ad15f416e01a1117ef88a4016c10536c4c0f7 WHIRLPOOL c8471bc7be1d77507f3d9b903f428346c85eda3550c1154c4e301b3169c1b7f2d04dd78c156385ea8cbc2e4e05cb87ba9a78167edf704ee8ea08cde8afb9e3a4
+MISC ChangeLog-2015 1106 SHA256 25a03f3272d416f4d13d092adeb0f6a6b9ddabc256f4b136e757faf0fb11a88b SHA512 c63f1e8da17f4228b7bd46bf0f2bd32edf65ad446c137c467c3cb13c83178f0438132ca14f28da00a67cb4a6c09e8d333265429b70a46d152d11b1d3c0b3221b WHIRLPOOL 350d5d8832f7311b39ef522a9c8d95a4942319a2dcef1acd6a34286be14c949c40dde07f025760f781c4a9dade101da0407250d44101e7ca28d18261e4b387ee
+MISC metadata.xml 293 SHA256 3f9107d96807a73b85d94f8216e1f5a24e55940f8e148ef0f33203a3005e6e3d SHA512 850b4e0ef0b365030c29a55c20eba931ea283a3f1603d0c0f887e80fad352ffcee0c546cd68ada65d4ba9f33fc0bfb2a817b11e630e704a22928380c7180deb4 WHIRLPOOL 0813d1f462e8f281191ef755748ff1af35113644666c2da2b50f5a24273c70589ca0d09e66f63e9bd11103a4c2ff7f241eb3b84f033e8c929bfb6bf38a303bbf
diff --git a/sci-libs/Shapely/Shapely-1.3.0.ebuild b/sci-libs/Shapely/Shapely-1.3.0.ebuild
new file mode 100644
index 000000000000..290fdf25740f
--- /dev/null
+++ b/sci-libs/Shapely/Shapely-1.3.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 python3_4 )
+
+inherit distutils-r1
+
+DESCRIPTION="Geometric objects, predicates, and operations"
+HOMEPAGE="https://pypi.python.org/pypi/Shapely"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=sci-libs/geos-3.1"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+PATCHES=( "${FILESDIR}"/setup_unicode.patch )
+
+python_test() {
+ esetup.py test
+}
diff --git a/sci-libs/Shapely/Shapely-1.3.2.ebuild b/sci-libs/Shapely/Shapely-1.3.2.ebuild
new file mode 100644
index 000000000000..290fdf25740f
--- /dev/null
+++ b/sci-libs/Shapely/Shapely-1.3.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 python3_4 )
+
+inherit distutils-r1
+
+DESCRIPTION="Geometric objects, predicates, and operations"
+HOMEPAGE="https://pypi.python.org/pypi/Shapely"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=sci-libs/geos-3.1"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+PATCHES=( "${FILESDIR}"/setup_unicode.patch )
+
+python_test() {
+ esetup.py test
+}
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 000000000000..9dc9f27b2a21
--- /dev/null
+++ b/sci-libs/Shapely/Shapely-1.5.17-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+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
+}
diff --git a/sci-libs/Shapely/Shapely-1.5.17.ebuild b/sci-libs/Shapely/Shapely-1.5.17.ebuild
new file mode 100644
index 000000000000..a90108d26d17
--- /dev/null
+++ b/sci-libs/Shapely/Shapely-1.5.17.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_{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.1"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_test() {
+ esetup.py test
+}
diff --git a/sci-libs/Shapely/Shapely-9999.ebuild b/sci-libs/Shapely/Shapely-9999.ebuild
new file mode 100644
index 000000000000..efa8587ea42e
--- /dev/null
+++ b/sci-libs/Shapely/Shapely-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1 git-r3
+
+DESCRIPTION="Geometric objects, predicates, and operations"
+HOMEPAGE="https://pypi.python.org/pypi/Shapely"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/Toblerity/${PN}.git"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+RDEPEND=">=sci-libs/geos-3.1"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_test() {
+ esetup.py test
+}
diff --git a/sci-libs/Shapely/files/setup_unicode.patch b/sci-libs/Shapely/files/setup_unicode.patch
new file mode 100644
index 000000000000..89e1b058f0f8
--- /dev/null
+++ b/sci-libs/Shapely/files/setup_unicode.patch
@@ -0,0 +1,23 @@
+--- setup.py.orig 2014-06-20 10:27:26.638779565 +0200
++++ setup.py 2014-06-20 10:27:29.885446151 +0200
+@@ -1,4 +1,5 @@
+ #!/usr/bin/env python
++# -*- coding: utf-8 -*-
+
+ from __future__ import print_function
+
+@@ -74,8 +75,12 @@
+ readme_text = fp.read()
+ readme_text = readme_text.replace(".. include:: CREDITS.txt", "")
+
+-with open('CREDITS.txt', 'r') as fp:
+- credits = fp.read()
++if sys.version_info[0] == 3:
++ with open('CREDITS.txt', 'r', encoding='utf-8') as fp:
++ credits = fp.read()
++elif sys.version_info[0] == 2:
++ with open('CREDITS.txt', 'r') as fp:
++ credits = fp.read().decode('utf-8')
+
+ with open('CHANGES.txt', 'r') as fp:
+ changes_text = fp.read()
diff --git a/sci-libs/Shapely/metadata.xml b/sci-libs/Shapely/metadata.xml
new file mode 100644
index 000000000000..a97d495a34c5
--- /dev/null
+++ b/sci-libs/Shapely/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>slis@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">Shapely</remote-id>
+ </upstream>
+</pkgmetadata>