[arch-commits] Commit in python-shapely/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jan 24 19:09:11 UTC 2018
Date: Wednesday, January 24, 2018 @ 19:09:06
Author: felixonmars
Revision: 286629
archrelease: copy trunk to community-x86_64
Added:
python-shapely/repos/community-x86_64/PKGBUILD
(from rev 286628, python-shapely/trunk/PKGBUILD)
Deleted:
python-shapely/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 134 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 67 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-24 19:08:24 UTC (rev 286628)
+++ PKGBUILD 2018-01-24 19:09:06 UTC (rev 286629)
@@ -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.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:
Copied: python-shapely/repos/community-x86_64/PKGBUILD (from rev 286628, python-shapely/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-24 19:09:06 UTC (rev 286629)
@@ -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.4.post1
+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=('7d51f723d981503c609fe56d299e7bd74ae3e9d7d56315dfd118bc623fcc578cef01c870669dcece34cbeb1d5d06cbb5290b3f8817e2acfd7ad49b37658adf62')
+
+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