[arch-commits] Commit in python-shapely/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Oct 31 13:37:32 UTC 2017
Date: Tuesday, October 31, 2017 @ 13:37:31
Author: felixonmars
Revision: 264903
archrelease: copy trunk to community-i686, community-x86_64
Added:
python-shapely/repos/community-i686/PKGBUILD
(from rev 264902, python-shapely/trunk/PKGBUILD)
python-shapely/repos/community-x86_64/PKGBUILD
(from rev 264902, python-shapely/trunk/PKGBUILD)
Deleted:
python-shapely/repos/community-i686/PKGBUILD
python-shapely/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 134 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 67 ----------------------
community-x86_64/PKGBUILD | 67 ----------------------
3 files changed, 134 insertions(+), 134 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-10-31 13:36:55 UTC (rev 264902)
+++ community-i686/PKGBUILD 2017-10-31 13:37:31 UTC (rev 264903)
@@ -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
-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=('601fb329b9a99cfe413fc50ee83f1b837f545240e403dccd9b4e2e22030cc78ab41f2d6520e755f2b154606f96f000b09a143a0d3cb99dd9f4f95fc23e8268b5')
-
-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-i686/PKGBUILD (from rev 264902, python-shapely/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-10-31 13:37:31 UTC (rev 264903)
@@ -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.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:
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-10-31 13:36:55 UTC (rev 264902)
+++ community-x86_64/PKGBUILD 2017-10-31 13:37:31 UTC (rev 264903)
@@ -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
-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=('601fb329b9a99cfe413fc50ee83f1b837f545240e403dccd9b4e2e22030cc78ab41f2d6520e755f2b154606f96f000b09a143a0d3cb99dd9f4f95fc23e8268b5')
-
-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 264902, python-shapely/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-10-31 13:37:31 UTC (rev 264903)
@@ -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.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:
More information about the arch-commits
mailing list