commit:     f15208d661780f73287e71d2f22b3b4f5f699bf1
Author:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 11 20:26:53 2020 +0000
Commit:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 18:59:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f15208d6

sci-libs/shapely: moved from sci-libs/Shapely

Signed-off-by: Dennis Lamm <expeditoneer <AT> gentoo.org>
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>

 profiles/updates/3Q-2020                                     |  1 +
 sci-libs/{Shapely => shapely}/Manifest                       |  2 +-
 .../files/shapely-1.6.4_p2-test_operations.patch}            |  0
 sci-libs/{Shapely => shapely}/metadata.xml                   |  0
 .../shapely-1.6.4_p2-r1.ebuild}                              | 12 +++++++-----
 .../Shapely-1.7.0.ebuild => shapely/shapely-1.7.0.ebuild}    |  5 +++++
 6 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/profiles/updates/3Q-2020 b/profiles/updates/3Q-2020
index 4678c55b344..9d7504fc580 100644
--- a/profiles/updates/3Q-2020
+++ b/profiles/updates/3Q-2020
@@ -145,3 +145,4 @@ slotmove dev-haskell/network 3 0
 move sci-libs/scipy dev-python/scipy
 move dev-perl/frontier-rpc dev-perl/Frontier-RPC
 move sci-libs/Rtree sci-libs/rtree
+move sci-libs/Shapely sci-libs/shapely

diff --git a/sci-libs/Shapely/Manifest b/sci-libs/shapely/Manifest
similarity index 89%
rename from sci-libs/Shapely/Manifest
rename to sci-libs/shapely/Manifest
index 4fab9715505..d2eb3633fd2 100644
--- a/sci-libs/Shapely/Manifest
+++ b/sci-libs/shapely/Manifest
@@ -1,2 +1,2 @@
 DIST Shapely-1.6.4.post2.tar.gz 225745 BLAKE2B 
96e995db6dd1464bac7c2562efdc7f298a5f23c388e44f334db685b1cfa1025ff403db870e11328977a267483726504e03b6d7c47fe4234a3a5966a13b2b7311
 SHA512 
027c816ef2104f654569ca658b52b87c60e5ba6a45927fcc51c23dd1922f3f9f7fdcea3601160b0a999e39611617142833ccac790777093be8b96a0d9083f78f
-DIST Shapely-1.7.0.tar.gz 281419 BLAKE2B 
1a4e84104f21d2f5a5eb810883a89deb20fd47cf146efed884994786364b29bb5a194b063a50ae21842c07c335cbbee0c3d1a1e4ff4e43e0d083080fe33815ac
 SHA512 
4d944fc6727e11d004ef7ba0325c159aa5ae03043f17b029ab0a399d6dcd361c4d299ad864a045a99b0229e333d5b42634bc6fd1ed94b914b7cf58fb886af2de
+DIST shapely-1.7.0.tar.gz 281419 BLAKE2B 
1a4e84104f21d2f5a5eb810883a89deb20fd47cf146efed884994786364b29bb5a194b063a50ae21842c07c335cbbee0c3d1a1e4ff4e43e0d083080fe33815ac
 SHA512 
4d944fc6727e11d004ef7ba0325c159aa5ae03043f17b029ab0a399d6dcd361c4d299ad864a045a99b0229e333d5b42634bc6fd1ed94b914b7cf58fb886af2de

diff --git a/sci-libs/Shapely/files/Shapely-1.6.4_p2-test_operations.patch 
b/sci-libs/shapely/files/shapely-1.6.4_p2-test_operations.patch
similarity index 100%
rename from sci-libs/Shapely/files/Shapely-1.6.4_p2-test_operations.patch
rename to sci-libs/shapely/files/shapely-1.6.4_p2-test_operations.patch

diff --git a/sci-libs/Shapely/metadata.xml b/sci-libs/shapely/metadata.xml
similarity index 100%
rename from sci-libs/Shapely/metadata.xml
rename to sci-libs/shapely/metadata.xml

diff --git a/sci-libs/Shapely/Shapely-1.6.4_p2-r1.ebuild 
b/sci-libs/shapely/shapely-1.6.4_p2-r1.ebuild
similarity index 86%
rename from sci-libs/Shapely/Shapely-1.6.4_p2-r1.ebuild
rename to sci-libs/shapely/shapely-1.6.4_p2-r1.ebuild
index a9ad4b613f2..be793427c4b 100644
--- a/sci-libs/Shapely/Shapely-1.6.4_p2-r1.ebuild
+++ b/sci-libs/shapely/shapely-1.6.4_p2-r1.ebuild
@@ -3,6 +3,10 @@
 
 EAPI=7
 
+MY_PN="Shapely"
+MY_PV="$(ver_cut 1-3).post$(ver_cut 5)"
+MY_P="${MY_PN}-${MY_PV}"
+
 PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
@@ -10,14 +14,12 @@ inherit distutils-r1
 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";
+       EGIT_REPO_URI="https://github.com/Toblerity/${MY_PN}.git";
 else
-       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
+       SRC_URI="mirror://pypi/${PN:0:1}/${MY_P}.tar.gz"
        KEYWORDS="amd64 ~arm64 x86"
 fi
 
@@ -36,7 +38,7 @@ RESTRICT="!test? ( test )"
 
 PATCHES=( "${FILESDIR}/${P}-test_operations.patch" ) # bug 701624
 
-S="${WORKDIR}/${PN}-${MY_PV}"
+S="${WORKDIR}/${MY_P}"
 
 python_prepare_all() {
        # fix install path for Cython definition file

diff --git a/sci-libs/Shapely/Shapely-1.7.0.ebuild 
b/sci-libs/shapely/shapely-1.7.0.ebuild
similarity index 92%
rename from sci-libs/Shapely/Shapely-1.7.0.ebuild
rename to sci-libs/shapely/shapely-1.7.0.ebuild
index a9bd484c2d6..3e2d10095ce 100644
--- a/sci-libs/Shapely/Shapely-1.7.0.ebuild
+++ b/sci-libs/shapely/shapely-1.7.0.ebuild
@@ -3,6 +3,9 @@
 
 EAPI=7
 
+MY_PN="Shapely"
+MY_P="${MY_PN}-${PV}"
+
 PYTHON_COMPAT=( python3_{7..8} )
 
 inherit distutils-r1
@@ -24,6 +27,8 @@ BDEPEND="${RDEPEND}
        dev-python/cython[${PYTHON_USEDEP}]
 "
 
+S="${WORKDIR}/${MY_P}"
+
 distutils_enable_tests pytest
 
 distutils_enable_sphinx docs dev-python/matplotlib

Reply via email to