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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 13:19:38 UTC 2020


    Date: Thursday, November 12, 2020 @ 13:19:38
  Author: foutrelis
Revision: 751760

archrelease: copy trunk to community-staging-any

Added:
  python-pecan/repos/community-staging-any/PKGBUILD
    (from rev 751759, python-pecan/trunk/PKGBUILD)
Deleted:
  python-pecan/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 13:19:34 UTC (rev 751759)
+++ PKGBUILD	2020-11-12 13:19:38 UTC (rev 751760)
@@ -1,46 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Tim Meusel <tim at bastelfreak.de>
-pkgname="python-pecan"
-_pkgname="${pkgname#python-}"
-pkgdesc='A WSGI object-dispatching web framework, designed to be lean and fast with few dependencies.'
-pkgver=1.4.0
-pkgrel=2
-arch=('any')
-url='https://github.com/pecan/pecan'
-license=('BSD')
-depends=('python' 'python-webob' 'python-mako' 'python-webtest' 'python-six'
-         'python-logutils')
-makedepends=('python' 'python-setuptools' 'python-sphinx' 'python-webob'
-             'python-mako' 'python-webtest' 'python-six' 'python-logutils')
-checkdepends=('python-virtualenv' 'python-jinja' 'gunicorn' 'python-mock'
-              'python-sqlalchemy' 'python-genshi' 'python-nine' 'uwsgi'
-              'python-pytest' 'python-kajiki')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('3f7e072b294a732af6ff65621b1e10254260b9d42abd2bc38c3bff8e141b2ae4592567075813faf40227e7f0a3f2893c27270926fcfad18d1cdd9dc8a85bd14e')
-
-prepare(){
-  # fix manpage build
-  sed -i '/^dist = /d' "${srcdir}/${_pkgname}-${pkgver}/docs/source/conf.py"
-  sed -i "s/^version = release = .*\$/version = release = '${pkgver}'/" "${srcdir}/${_pkgname}-${pkgver}/docs/source/conf.py"
-}
-
-build() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  python ./setup.py build
-}
-
-check() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  # python setup.py test
-  py.test -vvv -s -ra --showlocals --noconftest pecan/tests/
-}
-
-package() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  python ./setup.py install --root="$pkgdir/" --optimize=1
-  install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-  cd docs
-  PYTHONPATH="${PWD}/../" make man
-  install -D -m644 "./build/man/pecan.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}

Copied: python-pecan/repos/community-staging-any/PKGBUILD (from rev 751759, python-pecan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 13:19:38 UTC (rev 751760)
@@ -0,0 +1,46 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Tim Meusel <tim at bastelfreak.de>
+pkgname="python-pecan"
+_pkgname="${pkgname#python-}"
+pkgdesc='A WSGI object-dispatching web framework, designed to be lean and fast with few dependencies.'
+pkgver=1.4.0
+pkgrel=3
+arch=('any')
+url='https://github.com/pecan/pecan'
+license=('BSD')
+depends=('python' 'python-webob' 'python-mako' 'python-webtest' 'python-six'
+         'python-logutils')
+makedepends=('python' 'python-setuptools' 'python-sphinx' 'python-webob'
+             'python-mako' 'python-webtest' 'python-six' 'python-logutils')
+checkdepends=('python-virtualenv' 'python-jinja' 'gunicorn' 'python-mock'
+              'python-sqlalchemy' 'python-genshi' 'python-nine' 'uwsgi'
+              'python-pytest' 'python-kajiki')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('3f7e072b294a732af6ff65621b1e10254260b9d42abd2bc38c3bff8e141b2ae4592567075813faf40227e7f0a3f2893c27270926fcfad18d1cdd9dc8a85bd14e')
+
+prepare(){
+  # fix manpage build
+  sed -i '/^dist = /d' "${srcdir}/${_pkgname}-${pkgver}/docs/source/conf.py"
+  sed -i "s/^version = release = .*\$/version = release = '${pkgver}'/" "${srcdir}/${_pkgname}-${pkgver}/docs/source/conf.py"
+}
+
+build() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  python ./setup.py build
+}
+
+check() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  # python setup.py test
+  py.test -vvv -s -ra --showlocals --noconftest pecan/tests/
+}
+
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  python ./setup.py install --root="$pkgdir/" --optimize=1
+  install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  cd docs
+  PYTHONPATH="${PWD}/../" make man
+  install -D -m644 "./build/man/pecan.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}



More information about the arch-commits mailing list