[arch-commits] Commit in python-routes/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Oct 14 21:04:50 UTC 2020


    Date: Wednesday, October 14, 2020 @ 21:04:50
  Author: felixonmars
Revision: 723986

archrelease: copy trunk to community-any

Added:
  python-routes/repos/community-any/PKGBUILD
    (from rev 723985, python-routes/trunk/PKGBUILD)
Deleted:
  python-routes/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 +++++++++++++++++++++++--------------------------------------
 1 file changed, 32 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-14 21:04:38 UTC (rev 723985)
+++ PKGBUILD	2020-10-14 21:04:50 UTC (rev 723986)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: SpepS <dreamspepser at yahoo.it>
-# Contributor: James Bulmer <nekinie at gmail.com>
-
-pkgbase=python-routes
-pkgname=(python-routes python2-routes)
-pkgver=2.4.1
-pkgrel=4
-pkgdesc="Routing recognition and generation tools"
-arch=("any")
-url="https://pypi.python.org/pypi/Routes"
-license=("custom:BSD")
-makedepends=('python-setuptools' 'python2-setuptools' 'python-repoze.lru' 'python2-repoze.lru' 'python-six' 'python2-six')
-checkdepends=('python-nose' 'python2-nose' 'python-webob' 'python2-webob' 'python-coverage' 'python2-coverage')
-source=("https://pypi.io/packages/source/R/Routes/Routes-$pkgver.tar.gz")
-md5sums=('c058dff6832941dec47e0d0052548ad8')
-
-prepare() {
-  cp -a Routes-${pkgver}{,-py2}
-}
-
-build() {
-  cd "$srcdir"/Routes-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/Routes-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/Routes-$pkgver
-  nosetests3
-
-  cd "$srcdir"/Routes-$pkgver-py2
-  nosetests2
-}
-
-package_python-routes() {
-  depends=("python-repoze.lru" 'python-six')
-
-  cd "$srcdir"/Routes-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-routes() {
-  depends=("python2-repoze.lru" 'python2-six')
-
-  cd "$srcdir"/Routes-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-routes/repos/community-any/PKGBUILD (from rev 723985, python-routes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-14 21:04:50 UTC (rev 723986)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: SpepS <dreamspepser at yahoo.it>
+# Contributor: James Bulmer <nekinie at gmail.com>
+
+pkgname=python-routes
+pkgver=2.5.1
+pkgrel=1
+pkgdesc="Routing recognition and generation tools"
+arch=("any")
+url="https://pypi.python.org/pypi/Routes"
+license=("custom:BSD")
+depends=("python-repoze.lru" 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-webob' 'python-webtest')
+source=("https://pypi.io/packages/source/R/Routes/Routes-$pkgver.tar.gz")
+sha512sums=('06ec9a8426ced86524096703de47e3da2fa08bd0ed8c962d451b4338966804245b5074077021fb58a5afcb63acd6dcffa05a89703b8b54841a69a4cdff12b755')
+
+build() {
+  cd Routes-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd Routes-$pkgver
+  nosetests3
+}
+
+package() {
+  cd Routes-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list