[arch-commits] Commit in python-cherrypy/repos/community-any (PKGBUILD PKGBUILD)
Thore Bödecker
foxxx0 at archlinux.org
Mon Dec 18 15:40:28 UTC 2017
Date: Monday, December 18, 2017 @ 15:40:27
Author: foxxx0
Revision: 274775
archrelease: copy trunk to community-any
Added:
python-cherrypy/repos/community-any/PKGBUILD
(from rev 274774, python-cherrypy/trunk/PKGBUILD)
Deleted:
python-cherrypy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 150 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 75 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-18 15:40:14 UTC (rev 274774)
+++ PKGBUILD 2017-12-18 15:40:27 UTC (rev 274775)
@@ -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=13.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=('1118219499d6656c128ec74c8e1bb2c71911443bdf20cfcfbdd794ad94205dcc59eb0fdfdcd920cd314dbd447880d8662c6051108aaa68310f3701a125c51ad5')
-
-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 274774, python-cherrypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-18 15:40:27 UTC (rev 274775)
@@ -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=13.1.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=('361fe79d3f2aecae8d7a5986142e5054e24ea2c12e83182f771c6e262a54be1dfe22fd67de0f63d74ddb746dafd5d4320d8988ae01e85452edf62b6a9289cabd')
+
+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