[arch-commits] Commit in python-jinja/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Tue Mar 2 21:32:52 UTC 2021
Date: Tuesday, March 2, 2021 @ 21:32:52
Author: jelle
Revision: 878494
archrelease: copy trunk to community-any
Added:
python-jinja/repos/community-any/PKGBUILD
(from rev 878493, python-jinja/trunk/PKGBUILD)
Deleted:
python-jinja/repos/community-any/PKGBUILD
----------+
PKGBUILD | 93 ++++++++++++++++++++++++++-----------------------------------
1 file changed, 41 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-02 21:32:45 UTC (rev 878493)
+++ PKGBUILD 2021-03-02 21:32:52 UTC (rev 878494)
@@ -1,52 +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' 'python2-jinja')
-pkgver=2.11.3
-pkgrel=1
-pkgdesc="A simple pythonic template language written in Python"
-arch=('any')
-url="https://palletsprojects.com/p/jinja/"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-markupsafe'
- 'python2-markupsafe')
-checkdepends=('python-pytest' 'python2-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
- PYTHONPATH=build/lib pytest2
-}
-
-package_python-jinja() {
- depends=('python-setuptools' 'python-markupsafe')
- optdepends=('python-babel: for i18n support')
-
- 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"
-}
-
-package_python2-jinja() {
- depends=('python2-setuptools' 'python2-markupsafe')
-
- cd Jinja2-$pkgver
- python2 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 878493, python-jinja/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-02 21:32:52 UTC (rev 878494)
@@ -0,0 +1,41 @@
+# 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:
More information about the arch-commits
mailing list