[arch-commits] Commit in python-jinja/repos/community-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Jul 7 04:56:09 UTC 2022
Date: Thursday, July 7, 2022 @ 04:56:08
Author: foutrelis
Revision: 1247581
archrelease: copy trunk to community-any
Added:
python-jinja/repos/community-any/PKGBUILD
(from rev 1247580, python-jinja/trunk/PKGBUILD)
Deleted:
python-jinja/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-07 04:56:04 UTC (rev 1247580)
+++ PKGBUILD 2022-07-07 04:56:08 UTC (rev 1247581)
@@ -1,44 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: David Runge <dave at sleepmap.de>
-# Contributor: Peter Baldwin <bald_pete at hotmail.com>
-
-pkgname=python-jinja
-pkgver=3.1.2
-pkgrel=1
-epoch=1
-pkgdesc="A simple pythonic template language written in Python"
-arch=('any')
-url="https://palletsprojects.com/p/jinja/"
-license=('BSD')
-depends=('python-markupsafe')
-makedepends=('python-setuptools')
-optdepends=('python-babel: for i18n support')
-checkdepends=('python-pytest')
-source=(https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-$pkgver.tar.gz)
-sha256sums=('31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852')
-
-build() {
- cd Jinja2-$pkgver
- python3 setup.py build
-}
-
-check() {
- cd Jinja2-$pkgver
- # https://github.com/pypa/setuptools/issues/2466
- PYTHONPATH=build/lib pytest \
- --deselect tests/test_loader.py::test_package_dir_list \
- --deselect tests/test_loader.py::test_package_dir_source \
- --deselect tests/test_loader.py::test_package_file_list \
- --deselect tests/test_loader.py::test_package_file_source \
- --deselect tests/test_loader.py::test_package_zip_list \
- --deselect tests/test_loader.py::test_package_zip_omit_curdir \
- --deselect tests/test_loader.py::test_package_zip_source
-}
-
-package() {
- cd Jinja2-$pkgver
- python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE.rst -t "$pkgdir/usr/share/licenses/$pkgname"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-jinja/repos/community-any/PKGBUILD (from rev 1247580, python-jinja/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-07 04:56:08 UTC (rev 1247581)
@@ -0,0 +1,44 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: David Runge <dave at sleepmap.de>
+# Contributor: Peter Baldwin <bald_pete at hotmail.com>
+
+pkgname=python-jinja
+pkgver=3.1.2
+pkgrel=2
+epoch=1
+pkgdesc="A simple pythonic template language written in Python"
+arch=('any')
+url="https://palletsprojects.com/p/jinja/"
+license=('BSD')
+depends=('python-markupsafe')
+makedepends=('python-setuptools')
+optdepends=('python-babel: for i18n support')
+checkdepends=('python-pytest')
+source=(https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-$pkgver.tar.gz)
+sha256sums=('31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852')
+
+build() {
+ cd Jinja2-$pkgver
+ python3 setup.py build
+}
+
+check() {
+ cd Jinja2-$pkgver
+ # https://github.com/pypa/setuptools/issues/2466
+ PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=build/lib pytest \
+ --deselect tests/test_loader.py::test_package_dir_list \
+ --deselect tests/test_loader.py::test_package_dir_source \
+ --deselect tests/test_loader.py::test_package_file_list \
+ --deselect tests/test_loader.py::test_package_file_source \
+ --deselect tests/test_loader.py::test_package_zip_list \
+ --deselect tests/test_loader.py::test_package_zip_omit_curdir \
+ --deselect tests/test_loader.py::test_package_zip_source
+}
+
+package() {
+ cd Jinja2-$pkgver
+ python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE.rst -t "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list