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

Thore Bödecker foxxx0 at archlinux.org
Wed Jul 11 08:19:32 UTC 2018


    Date: Wednesday, July 11, 2018 @ 08:19:32
  Author: foxxx0
Revision: 356981

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  150 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 75 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-11 08:19:31 UTC (rev 356980)
+++ PKGBUILD	2018-07-11 08:19:32 UTC (rev 356981)
@@ -1,75 +0,0 @@
-# Maintainer:  Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Laurent Soest <laurent.soest at gmail.com>
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
-# Contributor: Armando M. Baratti <amblistas at ajato.com.br>
-# Contributor: Florian Richter <Florian_Richter at gmx.de>
-
-pkgbase='python-cherrypy'
-_pkgbase="${pkgbase//python-/}"
-pkgname=('python-cherrypy' 'python2-cherrypy')
-pkgver=16.0.2
-pkgrel=1
-pkgdesc="A pythonic, object-oriented web development framework"
-arch=('any')
-url="http://www.cherrypy.org"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-setuptools-scm'
-  'python2-setuptools-scm' 'python-tox' 'python2-tox' 'python-six'
-  'python2-six' 'python-cheroot' 'python2-cheroot' 'python-portend'
-  'python2-portend')
-source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${_pkgbase}/${_pkgbase}/archive/v$pkgver.tar.gz")
-sha512sums=('00c89a99250e44f2578a1ff5d77f402062fc829c9de86aac029963d6b0570a862e48a84781c3fa6dd74e60e09a02e4e7bfc8f3e485a37b31f9b2870bc3ff2066')
-
-prepare() {
-  cp -r "${srcdir}/${_pkgbase}-${pkgver}" "${srcdir}/${_pkgbase}-${pkgver}-py2"
-
-  # disable broken tests
-  rm "${srcdir}/${_pkgbase}-${pkgver}/${_pkgbase}/test"/test_{objectmapping.py,request_obj.py}
-  rm "${srcdir}/${_pkgbase}-${pkgver}-py2/${_pkgbase}/test"/test_{encoding.py,objectmapping.py,request_obj.py}
-}
-
-build() {
-
-  # setuptools wont find version from git tag
-  export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
-  cd "${srcdir}/${_pkgbase}-${pkgver}"
-  python ./setup.py build
-
-  cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
-  # fix incorrect shebang
-  sed -i 's|#!/usr/bin/python$|#!/usr/bin/python2|' cherrypy/test/sessiondemo.py
-  python2 ./setup.py build
-}
-
-check() {
-  cd "${srcdir}/${_pkgbase}-${pkgver}"
-  tox
-
-  cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
-  tox2
-}
-
-package_python-cherrypy() {
-  depends=('python' 'python-six' 'python-cheroot' 'python-portend' 'python-jaraco')
-
-  cd "${srcdir}/${_pkgbase}-${pkgver}"
-
-  python ./setup.py install --root="${pkgdir}" --optimize=1
-
-  install -Dm644 LICENSE.md \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
-}
-
-package_python2-cherrypy() {
-  depends=('python2' 'python2-six' 'python2-cheroot' 'python2-portend' 'python2-jaraco')
-
-  cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
-
-  python2 ./setup.py install --root="${pkgdir}" --optimize=1
-  mv "${pkgdir}/usr/bin/cherryd" "${pkgdir}/usr/bin/cherryd2"
-
-  install -Dm644 LICENSE.md \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
-}

Copied: python-cherrypy/repos/community-any/PKGBUILD (from rev 356979, python-cherrypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-11 08:19:32 UTC (rev 356981)
@@ -0,0 +1,75 @@
+# Maintainer:  Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Laurent Soest <laurent.soest at gmail.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
+# Contributor: Armando M. Baratti <amblistas at ajato.com.br>
+# Contributor: Florian Richter <Florian_Richter at gmx.de>
+
+pkgbase='python-cherrypy'
+_pkgbase="${pkgbase//python-/}"
+pkgname=('python-cherrypy' 'python2-cherrypy')
+pkgver=16.0.3
+pkgrel=1
+pkgdesc="A pythonic, object-oriented web development framework"
+arch=('any')
+url="https://cherrypy.org"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-setuptools-scm'
+  'python2-setuptools-scm' 'python-six' 'python2-six' 'python-cheroot'
+  'python2-cheroot' 'python-portend' 'python2-portend')
+checkdepends=('python-tox' 'python2-tox')
+source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${_pkgbase}/${_pkgbase}/archive/v$pkgver.tar.gz")
+sha512sums=('897c7ae982f02dbae4226ecff37d2b2c8b39e63929fde8bbf34b7c5996f89fe5a89ab5f399001ede8bd0352442fba223ca4518523ed0a88240887fe099ddaf2a')
+
+prepare() {
+  cp -r "${srcdir}/${_pkgbase}-${pkgver}" "${srcdir}/${_pkgbase}-${pkgver}-py2"
+
+  # disable broken tests
+  rm "${srcdir}/${_pkgbase}-${pkgver}/${_pkgbase}/test"/test_{objectmapping.py,request_obj.py}
+  rm "${srcdir}/${_pkgbase}-${pkgver}-py2/${_pkgbase}/test"/test_{encoding.py,objectmapping.py,request_obj.py}
+}
+
+build() {
+
+  # setuptools wont find version from git tag
+  export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  python ./setup.py build
+
+  cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
+  # fix incorrect shebang
+  sed -i 's|#!/usr/bin/python$|#!/usr/bin/python2|' cherrypy/test/sessiondemo.py
+  python2 ./setup.py build
+}
+
+check() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  tox
+
+  cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
+  tox2
+}
+
+package_python-cherrypy() {
+  depends=('python' 'python-six' 'python-cheroot' 'python-portend' 'python-jaraco')
+
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+
+  python ./setup.py install --root="${pkgdir}" --optimize=1
+
+  install -Dm644 LICENSE.md \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+}
+
+package_python2-cherrypy() {
+  depends=('python2' 'python2-six' 'python2-cheroot' 'python2-portend' 'python2-jaraco')
+
+  cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
+
+  python2 ./setup.py install --root="${pkgdir}" --optimize=1
+  mv "${pkgdir}/usr/bin/cherryd" "${pkgdir}/usr/bin/cherryd2"
+
+  install -Dm644 LICENSE.md \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+}



More information about the arch-commits mailing list