[arch-commits] Commit in python-mako/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun May 10 10:04:32 UTC 2020


    Date: Sunday, May 10, 2020 @ 10:04:31
  Author: felixonmars
Revision: 383090

archrelease: copy trunk to extra-any

Added:
  python-mako/repos/extra-any/PKGBUILD
    (from rev 383089, python-mako/trunk/PKGBUILD)
Deleted:
  python-mako/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   85 ++++++++++++++++++++++---------------------------------------
 1 file changed, 32 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-10 09:59:11 UTC (rev 383089)
+++ PKGBUILD	2020-05-10 10:04:31 UTC (rev 383090)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-mako
-pkgname=('python-mako' 'python2-mako')
-pkgver=1.1.2
-pkgrel=2
-pkgdesc="A super-fast templating language that borrows the best ideas from the existing templating languages"
-arch=('any')
-url="https://www.makotemplates.org/"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-markupsafe' 'python2-markupsafe'
-             'python-beaker' 'python2-beaker')
-checkdepends=('python-pytest' 'python-mock' 'python-babel' 'python-pygments'
-              'python-dogpile.cache')
-source=("https://pypi.io/packages/source/M/Mako/Mako-$pkgver.tar.gz"{,.asc})
-sha512sums=('73b7a32ceb6e39dc2491734546c83a752bf0c8bc7546bb236801c02a5bccc5b59f2440333a328ff747eee936612dd12279f08d27d76f065fd589081d232692a8'
-            'SKIP')
-validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')  # Michael Bayer
-
-prepare() {
-  cp -a Mako-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/Mako-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/Mako-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd Mako-$pkgver
-  python -m pytest
-}
-
-package_python-mako() {
-  depends=('python-markupsafe' 'python-beaker' 'python-setuptools')
-
-  cd Mako-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-mako() {
-  depends=('python2-markupsafe' 'python2-beaker' 'python2-setuptools')
-
-  cd Mako-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir"/usr/bin/mako-render{,2}
-}

Copied: python-mako/repos/extra-any/PKGBUILD (from rev 383089, python-mako/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-10 10:04:31 UTC (rev 383090)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-mako
+pkgver=1.1.2
+pkgrel=3
+pkgdesc="A super-fast templating language that borrows the best ideas from the existing templating languages"
+arch=('any')
+url="https://www.makotemplates.org/"
+license=('MIT')
+depends=('python-markupsafe' 'python-beaker' 'python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'python-babel' 'python-pygments'
+              'python-dogpile.cache')
+source=("https://pypi.io/packages/source/M/Mako/Mako-$pkgver.tar.gz"{,.asc})
+sha512sums=('73b7a32ceb6e39dc2491734546c83a752bf0c8bc7546bb236801c02a5bccc5b59f2440333a328ff747eee936612dd12279f08d27d76f065fd589081d232692a8'
+            'SKIP')
+validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')  # Michael Bayer
+
+build() {
+  cd Mako-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd Mako-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd Mako-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list