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

Thore Bödecker foxxx0 at archlinux.org
Thu Sep 27 07:28:07 UTC 2018


    Date: Thursday, September 27, 2018 @ 07:28:06
  Author: foxxx0
Revision: 385905

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-27 07:28:04 UTC (rev 385904)
+++ PKGBUILD	2018-09-27 07:28:06 UTC (rev 385905)
@@ -1,52 +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>
-
-pkgname='python2-cherrypy'
-_pkgname="${pkgname#python2-}"
-pkgver=17.3.0
-pkgrel=2
-pkgdesc='A pythonic, object-oriented web development framework'
-arch=('any')
-url='https://cherrypy.org'
-license=('BSD')
-depends=('python2' 'python2-six' 'python2-cheroot' 'python2-more-itertools'
-  'python2-portend' 'python2-jaraco' 'python2-contextlib2' 'python2-zc.lockfile')
-makedepends=('python2-setuptools' 'python2-setuptools-scm' 'python2-six'
-  'python2-cheroot' 'python2-portend' 'python2-more-itertools'
-  'python2-contextlib2' 'python2-zc.lockfile')
-checkdepends=('python2-tox')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/v$pkgver.tar.gz")
-sha512sums=('779cf604c88104db89a9b3ff51f88fd9e307773c6bca2454ad4909ca9e366f0a895afb037450a87193622ea4a8e2812de924d8472dcf94488a4fe30912e73c09')
-
-prepare() {
-  # fix python interpreter for python2 stuff
-  find "${srcdir}/${_pkgname}-${pkgver}" -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}/${_pkgname}-${pkgver}"
-  python2 ./setup.py build
-}
-
-check() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  tox2
-}
-
-package() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-
-  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: python2-cherrypy/repos/community-any/PKGBUILD (from rev 385902, python2-cherrypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-27 07:28:06 UTC (rev 385905)
@@ -0,0 +1,52 @@
+# 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>
+
+pkgname='python2-cherrypy'
+_pkgname="${pkgname#python2-}"
+pkgver=17.4.0
+pkgrel=1
+pkgdesc='A pythonic, object-oriented web development framework'
+arch=('any')
+url='https://cherrypy.org'
+license=('BSD')
+depends=('python2' 'python2-six' 'python2-cheroot' 'python2-more-itertools'
+  'python2-portend' 'python2-jaraco' 'python2-contextlib2' 'python2-zc.lockfile')
+makedepends=('python2-setuptools' 'python2-setuptools-scm' 'python2-six'
+  'python2-cheroot' 'python2-portend' 'python2-more-itertools'
+  'python2-contextlib2' 'python2-zc.lockfile')
+checkdepends=('python2-tox')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/v$pkgver.tar.gz")
+sha512sums=('56b02f1ec5b617202effe5c9c90f3f93ebf141700c05e594aa45c16cac3fed60dda08265bc951706dba14fe71370f05478d6c2028312b8d36d69cf2531f5990f')
+
+prepare() {
+  # fix python interpreter for python2 stuff
+  find "${srcdir}/${_pkgname}-${pkgver}" -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}/${_pkgname}-${pkgver}"
+  python2 ./setup.py build
+}
+
+check() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  tox2
+}
+
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+
+  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