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

Thore Bödecker foxxx0 at archlinux.org
Mon Aug 20 07:40:01 UTC 2018


    Date: Monday, August 20, 2018 @ 07:40:01
  Author: foxxx0
Revision: 372840

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  144 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-20 07:39:53 UTC (rev 372839)
+++ PKGBUILD	2018-08-20 07:40:01 UTC (rev 372840)
@@ -1,72 +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-${_pkgbase}" "python2-${_pkgbase}")
-pkgver=17.0.0
-pkgrel=2
-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=('a80cbca34a1fe66a0dd83dce1d241f9b4b0c949fa05c9f982f8785c164debf969f4f222ec9e05a8e37fa272ea459e13bb06c50850dcfb87c0a281a67dd0673e6')
-
-prepare() {
-  cp -r "${srcdir}/${_pkgbase}-${pkgver}" "${srcdir}/${_pkgbase}-${pkgver}-py2"
-
-  # fix python interpreter for python2 stuff
-  find "${srcdir}/${_pkgbase}-${pkgver}-py2" -type f -name '*.py' \
-    -exec sed -i 's|^#!/usr/bin/python$|#!/usr/bin/env python2|1' {} +
-}
-
-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"
-}

Copied: python-cherrypy/repos/community-any/PKGBUILD (from rev 372839, python-cherrypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-20 07:40:01 UTC (rev 372840)
@@ -0,0 +1,72 @@
+# 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-${_pkgbase}" "python2-${_pkgbase}")
+pkgver=17.3.0
+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=('779cf604c88104db89a9b3ff51f88fd9e307773c6bca2454ad4909ca9e366f0a895afb037450a87193622ea4a8e2812de924d8472dcf94488a4fe30912e73c09')
+
+prepare() {
+  cp -r "${srcdir}/${_pkgbase}-${pkgver}" "${srcdir}/${_pkgbase}-${pkgver}-py2"
+
+  # fix python interpreter for python2 stuff
+  find "${srcdir}/${_pkgbase}-${pkgver}-py2" -type f -name '*.py' \
+    -exec sed -i 's|^#!/usr/bin/python$|#!/usr/bin/env python2|1' {} +
+}
+
+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