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

Thore Bödecker foxxx0 at archlinux.org
Sat Nov 24 09:59:26 UTC 2018


    Date: Saturday, November 24, 2018 @ 09:59:25
  Author: foxxx0
Revision: 409614

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-24 09:59:19 UTC (rev 409613)
+++ PKGBUILD	2018-11-24 09:59:25 UTC (rev 409614)
@@ -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.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"
-}

Copied: python2-cherrypy/repos/community-any/PKGBUILD (from rev 409613, python2-cherrypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-24 09:59:25 UTC (rev 409614)
@@ -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.1
+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=('4844cbdd73b05d5bf7625e28360d7f210a8c96674605598023931ad9189fbd04e9799e2f30389b9bfdfc8f8459a9b70827884c488aad2a1b062831265aa5a121')
+
+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