[arch-commits] Commit in python-kajiki/repos/community-any (PKGBUILD PKGBUILD)
Thore Bödecker
foxxx0 at archlinux.org
Mon Oct 21 08:43:51 UTC 2019
Date: Monday, October 21, 2019 @ 08:43:51
Author: foxxx0
Revision: 518055
archrelease: copy trunk to community-any
Added:
python-kajiki/repos/community-any/PKGBUILD
(from rev 518054, python-kajiki/trunk/PKGBUILD)
Deleted:
python-kajiki/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-21 08:43:48 UTC (rev 518054)
+++ PKGBUILD 2019-10-21 08:43:51 UTC (rev 518055)
@@ -1,41 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-pkgbase='python-kajiki'
-_pkgbase="${pkgbase#python-}"
-pkgname=("python-${_pkgbase}" "python2-${_pkgbase}")
-pkgver=0.8.0
-pkgrel=1
-pkgdesc='Python XML-based template engine with Genshi-like syntax and Jinja-style blocks'
-arch=('any')
-url='https://github.com/nandoflorestan/kajiki'
-license=('LGPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-babel' 'python2-babel' 'python-nose' 'python2-nose' 'python-nine' 'python2-nine')
-source=("${_pkgbase}-${pkgver}.tar.gz::https://github.com/nandoflorestan/kajiki/archive/v${pkgver}.tar.gz")
-sha512sums=('b85adf30855dccf37b98d33ab9ee624866c0b5bba5e38308c2754d3ce578841eaddf11de5555f0ca4f58966e50b5ec64a9bf25afe3195a3becc05e8216002d8a')
-
-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/env python$|#!/usr/bin/env python2|1' {} +
-}
-
-check() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- python ./setup.py test
- cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
- python2 ./setup.py test
-}
-
-package_python-kajiki() {
- depends=('python')
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- python ./setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-kajiki() {
- depends=('python2')
- cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
- python2 ./setup.py install --root="$pkgdir/" --optimize=1
-}
Copied: python-kajiki/repos/community-any/PKGBUILD (from rev 518054, python-kajiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-21 08:43:51 UTC (rev 518055)
@@ -0,0 +1,41 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+pkgbase='python-kajiki'
+_pkgbase="${pkgbase#python-}"
+pkgname=("python-${_pkgbase}" "python2-${_pkgbase}")
+pkgver=0.8.1
+pkgrel=1
+pkgdesc='Python XML-based template engine with Genshi-like syntax and Jinja-style blocks'
+arch=('any')
+url='https://github.com/nandoflorestan/kajiki'
+license=('LGPL')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-babel' 'python2-babel' 'python-nose' 'python2-nose' 'python-nine' 'python2-nine')
+source=("${_pkgbase}-${pkgver}.tar.gz::https://github.com/nandoflorestan/kajiki/archive/v${pkgver}.tar.gz")
+sha512sums=('016338f2f585b4af774f25925b111bc82654589f222a273eb7bd785e8ce6383bf847cec99ab0e7b8925a4b9b080a47fb202398f1abdb9089b645bdcfb78fbfeb')
+
+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/env python$|#!/usr/bin/env python2|1' {} +
+}
+
+check() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python ./setup.py test
+ cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
+ python2 ./setup.py test
+}
+
+package_python-kajiki() {
+ depends=('python')
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python ./setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-kajiki() {
+ depends=('python2')
+ cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
+ python2 ./setup.py install --root="$pkgdir/" --optimize=1
+}
More information about the arch-commits
mailing list