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

Thore Bödecker foxxx0 at archlinux.org
Fri Nov 24 09:54:47 UTC 2017


    Date: Friday, November 24, 2017 @ 09:54:46
  Author: foxxx0
Revision: 268287

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  146 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-24 09:54:36 UTC (rev 268286)
+++ PKGBUILD	2017-11-24 09:54:46 UTC (rev 268287)
@@ -1,73 +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=12.0.1
-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=('74f3ea0f919169b0502105444dc4539a46dd033e21c9874c9d5a25fdd3c1835556224e31c8fbd1f33c4f8124a75cb049f5057a8fb4ff3d661e65c7f4982341d7')
-
-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"
-  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')
-
-  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')
-
-  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 268286, python-cherrypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-24 09:54:46 UTC (rev 268287)
@@ -0,0 +1,73 @@
+# 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=12.0.1
+pkgrel=2
+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=('74f3ea0f919169b0502105444dc4539a46dd033e21c9874c9d5a25fdd3c1835556224e31c8fbd1f33c4f8124a75cb049f5057a8fb4ff3d661e65c7f4982341d7')
+
+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"
+  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