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

Evangelos Foutras foutrelis at archlinux.org
Wed May 12 13:56:59 UTC 2021


    Date: Wednesday, May 12, 2021 @ 13:56:59
  Author: foutrelis
Revision: 931674

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-12 13:56:55 UTC (rev 931673)
+++ PKGBUILD	2021-05-12 13:56:59 UTC (rev 931674)
@@ -1,41 +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=2.11.3
-pkgrel=2
-pkgdesc="A simple pythonic template language written in Python"
-arch=('any')
-url="https://palletsprojects.com/p/jinja/"
-license=('BSD')
-depends=('python-setuptools' 'python-markupsafe')
-optdepends=('python-babel: for i18n support')
-makedepends=('python-setuptools' 'python-markupsafe')
-checkdepends=('python-pytest')
-source=(https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-$pkgver.tar.gz)
-sha256sums=('a6d58433de0ae800347cab1fa3043cebbabe8baa9d29e668f1c768cb87a333c6')
-
-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_bytecode_cache.py::TestByteCodeCache::test_simple \
-   --deselect tests/test_loader.py::TestLoaders::test_package_loader \
-   --deselect tests/test_loader.py::TestLoaders::test_choice_loader
-}
-
-package() {
-  cd Jinja2-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.rst -t "$pkgdir/usr/share/licenses/$pkgname"
-
-  install -Dm644 ext/Vim/jinja.vim -t "$pkgdir/usr/share/vim/vimfiles/syntax"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-jinja/repos/community-any/PKGBUILD (from rev 931673, python-jinja/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-12 13:56:59 UTC (rev 931674)
@@ -0,0 +1,39 @@
+# 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.0.0
+pkgrel=1
+pkgdesc="A simple pythonic template language written in Python"
+arch=('any')
+url="https://palletsprojects.com/p/jinja/"
+license=('BSD')
+depends=('python-setuptools' 'python-markupsafe')
+optdepends=('python-babel: for i18n support')
+checkdepends=('python-pytest')
+source=(https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-$pkgver.tar.gz)
+sha256sums=('ea8d7dd814ce9df6de6a761ec7f1cac98afe305b8cdc4aaae4e114b8d8ce24c5')
+
+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_source \
+   --deselect tests/test_loader.py::test_package_dir_list \
+   --deselect tests/test_loader.py::test_package_zip_source \
+   --deselect tests/test_loader.py::test_package_zip_list
+}
+
+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