[arch-commits] Commit in python-shapely/repos/community-staging-x86_64 (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 10:02:51 UTC 2020
Date: Thursday, November 12, 2020 @ 10:02:50
Author: foutrelis
Revision: 751349
archrelease: copy trunk to community-staging-x86_64
Added:
python-shapely/repos/community-staging-x86_64/PKGBUILD
(from rev 751348, python-shapely/trunk/PKGBUILD)
Deleted:
python-shapely/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 10:02:47 UTC (rev 751348)
+++ PKGBUILD 2020-11-12 10:02:50 UTC (rev 751349)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: David Verelst <david dot verelst at gmail com>
-# Contributor: richli
-
-pkgname=python-shapely
-pkgver=1.7.1
-pkgrel=2
-pkgdesc="Manipulation and analysis of geometric objects in the Cartesian plane"
-arch=('x86_64')
-url="https://pypi.python.org/pypi/Shapely"
-license=('BSD')
-depends=('geos' 'python')
-optdepends=('python-numpy: for shapely.vectorized submodule')
-makedepends=('python-setuptools' 'python-packaging' 'python-numpy' 'cython')
-checkdepends=('python-pytest')
-source=("https://pypi.io/packages/source/S/Shapely/Shapely-${pkgver}.tar.gz")
-sha512sums=('f5991a35692241ff48f7219edd88bdab7da5b9135c22d26ca530cbdb9160717fd88f2913a9da8ae53869c68955418c14ffd5d798df196639de63660226bd6412')
-
-prepare() {
- rm -r Shapely-$pkgver/_vendor
- sed -i 's/from _vendor.packaging./from packaging./' Shapely-$pkgver/setup.py
-}
-
-build() {
- cd Shapely-$pkgver
- python setup.py build
-}
-
-check() {
- # TODO: make the hack less dirty...
-
- cd Shapely-$pkgver
- mv shapely shapely.bak
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.9:$PYTHONPATH" py.test
- mv shapely.bak shapely
-}
-
-package() {
- cd Shapely-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-shapely/repos/community-staging-x86_64/PKGBUILD (from rev 751348, python-shapely/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 10:02:50 UTC (rev 751349)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: David Verelst <david dot verelst at gmail com>
+# Contributor: richli
+
+pkgname=python-shapely
+pkgver=1.7.1
+pkgrel=3
+pkgdesc="Manipulation and analysis of geometric objects in the Cartesian plane"
+arch=('x86_64')
+url="https://pypi.python.org/pypi/Shapely"
+license=('BSD')
+depends=('geos' 'python')
+optdepends=('python-numpy: for shapely.vectorized submodule')
+makedepends=('python-setuptools' 'python-packaging' 'python-numpy' 'cython')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/S/Shapely/Shapely-${pkgver}.tar.gz")
+sha512sums=('f5991a35692241ff48f7219edd88bdab7da5b9135c22d26ca530cbdb9160717fd88f2913a9da8ae53869c68955418c14ffd5d798df196639de63660226bd6412')
+
+prepare() {
+ rm -r Shapely-$pkgver/_vendor
+ sed -i 's/from _vendor.packaging./from packaging./' Shapely-$pkgver/setup.py
+}
+
+build() {
+ cd Shapely-$pkgver
+ python setup.py build
+}
+
+check() {
+ # TODO: make the hack less dirty...
+
+ cd Shapely-$pkgver
+ mv shapely shapely.bak
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.9:$PYTHONPATH" py.test
+ mv shapely.bak shapely
+}
+
+package() {
+ cd Shapely-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list