[arch-commits] Commit in python-cherrypy/repos/community-any (PKGBUILD PKGBUILD)
Thore Bödecker
foxxx0 at archlinux.org
Sun May 13 14:28:04 UTC 2018
Date: Sunday, May 13, 2018 @ 14:28:03
Author: foxxx0
Revision: 321607
archrelease: copy trunk to community-any
Added:
python-cherrypy/repos/community-any/PKGBUILD
(from rev 321606, python-cherrypy/trunk/PKGBUILD)
Deleted:
python-cherrypy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 150 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 75 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-13 14:27:51 UTC (rev 321606)
+++ PKGBUILD 2018-05-13 14:28:03 UTC (rev 321607)
@@ -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=14.2.0
-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=('a9b6fc466af4b8df31aae10094ad0414cdac4e59159b0d9a0634660f161669648e2b21b929f08bc965747f389b0a1da3aa15d86addddb8540a6caf34a0ef0cb1')
-
-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 321606, python-cherrypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-13 14:28:03 UTC (rev 321607)
@@ -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=15.0.0
+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=('8b976dd0b80fdc3dd0c98460e26bbca999e3646780ff88d1bb1407820846793f70e43cdcebd9cd4a5bc548e991a00d6c72793727d9b5bd8c2dcd381f7b7609a7')
+
+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