[arch-commits] Commit in python-mako/repos/extra-any (PKGBUILD PKGBUILD keys)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Aug 29 18:18:45 UTC 2022
Date: Monday, August 29, 2022 @ 18:18:45
Author: felixonmars
Revision: 454724
archrelease: copy trunk to extra-any
Added:
python-mako/repos/extra-any/PKGBUILD
(from rev 454723, python-mako/trunk/PKGBUILD)
python-mako/repos/extra-any/keys/
Deleted:
python-mako/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 35 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-29 18:18:30 UTC (rev 454723)
+++ PKGBUILD 2022-08-29 18:18:45 UTC (rev 454724)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-mako
-pkgver=1.1.6
-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=('e87d883d7a549a902bb2e16d20306ccd3dd7b3bf855dfdaff20477dd182a782a5cecbdc447e4b1607f190a7b0febcca001333137f7cac6ffa674824c2a2fd1bb'
- 'SKIP')
-validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer
-
-prepare() {
- cd Mako-$pkgver
- sed -e '/\[tool:pytest\]/a filterwarnings =\n error\n ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning' \
- -e 's/-W error//' \
- -i setup.cfg
-}
-
-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
-}
Copied: python-mako/repos/extra-any/PKGBUILD (from rev 454723, python-mako/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-29 18:18:45 UTC (rev 454724)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-mako
+pkgver=1.2.1
+pkgrel=1
+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')
+makedepends=('python-setuptools')
+# python-lingua isn't packaged
+checkdepends=('python-pytest' 'python-babel' 'python-beaker' 'python-dogpile.cache'
+ 'python-pygments')
+source=("https://pypi.io/packages/source/M/Mako/Mako-$pkgver.tar.gz"{,.asc})
+sha512sums=('02393054c9e3857ee412f494b01d702b5f367165d2f57a5ff9df34ba1a042b60c7b6c059ce2c53bcb91e3a4a21179eca884ee051bf5f5f3522c05253088d38a5'
+ 'SKIP')
+validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1' # Michael Bayer
+ '2CA9B722133AF20453401FD1A33AC2044BFDF51E') # Mako Maintainer
+
+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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list