[arch-commits] Commit in python-routes/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:49:22 UTC 2020


    Date: Monday, November 9, 2020 @ 16:49:21
  Author: foutrelis
Revision: 747570

archrelease: copy trunk to community-staging-any

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

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

Copied: python-routes/repos/community-staging-any/PKGBUILD (from rev 747569, python-routes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:49:21 UTC (rev 747570)
@@ -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=2
+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