[arch-commits] Commit in python-kajiki/repos/community-any (PKGBUILD PKGBUILD)

Thore Bödecker foxxx0 at archlinux.org
Sat Jun 29 17:29:31 UTC 2019


    Date: Saturday, June 29, 2019 @ 17:29:30
  Author: foxxx0
Revision: 485944

archrelease: copy trunk to community-any

Added:
  python-kajiki/repos/community-any/PKGBUILD
    (from rev 485943, python-kajiki/trunk/PKGBUILD)
Deleted:
  python-kajiki/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-29 17:29:23 UTC (rev 485943)
+++ PKGBUILD	2019-06-29 17:29:30 UTC (rev 485944)
@@ -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.7.2
-pkgrel=2
-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/${pkgver}.tar.gz")
-sha512sums=('bf626db9cf1bb2b976a6bf1043967d245987424d348e39a08ad3d9bafd61d8d8125a09f49175922361ea78135d71054a851241a6f8c4938740b7cf61f876cf3c')
-
-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 485943, python-kajiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-29 17:29:30 UTC (rev 485944)
@@ -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.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
+}


More information about the arch-commits mailing list