[arch-commits] Commit in python-shapely/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Dec 9 21:04:57 UTC 2017
Date: Saturday, December 9, 2017 @ 21:04:56
Author: felixonmars
Revision: 273414
archrelease: copy trunk to community-x86_64
Added:
python-shapely/repos/community-x86_64/PKGBUILD
(from rev 273413, python-shapely/trunk/PKGBUILD)
Deleted:
python-shapely/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 134 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 67 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-09 21:04:31 UTC (rev 273413)
+++ PKGBUILD 2017-12-09 21:04:56 UTC (rev 273414)
@@ -1,67 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: David Verelst <david dot verelst at gmail com>
-# Contributor: richli
-
-pkgbase=python-shapely
-pkgname=(python-shapely python2-shapely)
-pkgver=1.6.2.post1
-pkgrel=1
-pkgdesc="Manipulation and analysis of geometric objects in the Cartesian plane"
-arch=('i686' 'x86_64')
-url="https://pypi.python.org/pypi/Shapely"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-packaging' 'python2-packaging' 'geos'
- 'python-numpy' 'python2-numpy' 'cython' 'cython2')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("https://pypi.io/packages/source/S/Shapely/Shapely-${pkgver}.tar.gz")
-sha512sums=('f0fe946cc7bbfbb2973a04325b53834a7d2b98f7fcd1dbfd90ad56c17e840cf7e3658bec93880eb8fdd193565aa3415780160dd87f765c23afe5883169593007')
-
-prepare() {
- rm -r Shapely-$pkgver/_vendor
- sed -i 's/from _vendor.packaging./from packaging./' Shapely-$pkgver/setup.py
-
- cp -a Shapely-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/Shapely-$pkgver
- python setup.py build
-
- cd "$srcdir"/Shapely-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- # TODO: make the hack less dirty...
-
- cd "$srcdir"/Shapely-$pkgver
- mv shapely shapely.bak
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" py.test
- mv shapely.bak shapely
-
- cd "$srcdir"/Shapely-$pkgver-py2
- mv shapely shapely.bak
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2
- mv shapely.bak shapely
-}
-
-package_python-shapely() {
- depends=('geos' 'python')
- optdepends=('python-numpy: for shapely.vectorized submodule')
-
- cd "$srcdir"/Shapely-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-shapely() {
- depends=('geos' 'python2')
- optdepends=('python2-numpy: for shapely.vectorized submodule')
-
- cd "$srcdir"/Shapely-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-shapely/repos/community-x86_64/PKGBUILD (from rev 273413, python-shapely/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-09 21:04:56 UTC (rev 273414)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: David Verelst <david dot verelst at gmail com>
+# Contributor: richli
+
+pkgbase=python-shapely
+pkgname=(python-shapely python2-shapely)
+pkgver=1.6.3
+pkgrel=1
+pkgdesc="Manipulation and analysis of geometric objects in the Cartesian plane"
+arch=('x86_64')
+url="https://pypi.python.org/pypi/Shapely"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-packaging' 'python2-packaging' 'geos'
+ 'python-numpy' 'python2-numpy' 'cython' 'cython2')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("https://pypi.io/packages/source/S/Shapely/Shapely-${pkgver}.tar.gz")
+sha512sums=('e541c8e3369914bbdc63e3d2396cb699503f50138ff41ef8d3998a272e1bb051171ab063ba8346464c5bdc425efa5bfdb0d71f0365e63b3b2d592141dba3a7dd')
+
+prepare() {
+ rm -r Shapely-$pkgver/_vendor
+ sed -i 's/from _vendor.packaging./from packaging./' Shapely-$pkgver/setup.py
+
+ cp -a Shapely-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/Shapely-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/Shapely-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ # TODO: make the hack less dirty...
+
+ cd "$srcdir"/Shapely-$pkgver
+ mv shapely shapely.bak
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" py.test
+ mv shapely.bak shapely
+
+ cd "$srcdir"/Shapely-$pkgver-py2
+ mv shapely shapely.bak
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2
+ mv shapely.bak shapely
+}
+
+package_python-shapely() {
+ depends=('geos' 'python')
+ optdepends=('python-numpy: for shapely.vectorized submodule')
+
+ cd "$srcdir"/Shapely-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-shapely() {
+ depends=('geos' 'python2')
+ optdepends=('python2-numpy: for shapely.vectorized submodule')
+
+ cd "$srcdir"/Shapely-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list