[arch-commits] Commit in python-jinja_pluralize/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 10:04:12 UTC 2020
Date: Thursday, November 12, 2020 @ 10:04:11
Author: felixonmars
Revision: 751374
archrelease: copy trunk to community-staging-any
Added:
python-jinja_pluralize/repos/community-staging-any/PKGBUILD
(from rev 751362, python-jinja_pluralize/trunk/PKGBUILD)
Deleted:
python-jinja_pluralize/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 10:04:08 UTC (rev 751373)
+++ PKGBUILD 2020-11-12 10:04:11 UTC (rev 751374)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=jinja2_pluralize
-pkgname=python-jinja_pluralize
-pkgver=0.2.1
-pkgrel=2
-pkgdesc="Jinja2 pluralize filters"
-arch=('any')
-url="https://github.com/audreyr/jinja2_pluralize"
-license=('BSD')
-depends=('python-inflect' 'python-jinja')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('61d6866cbd966a534788b947f949231d0e54e575d826a45953be850b470c00e76bd10faed076d548aef17ba29f81a6efd040c90b1d9a80bc709205879f9a266b')
-
-prepare() {
- mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH="build:${PYTHONPATH}"
- pytest -v
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm 644 {AUTHORS,CONTRIBUTING,README}.rst \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: python-jinja_pluralize/repos/community-staging-any/PKGBUILD (from rev 751362, python-jinja_pluralize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 10:04:11 UTC (rev 751374)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=jinja2_pluralize
+pkgname=python-jinja_pluralize
+pkgver=0.2.1
+pkgrel=3
+pkgdesc="Jinja2 pluralize filters"
+arch=('any')
+url="https://github.com/audreyr/jinja2_pluralize"
+license=('BSD')
+depends=('python-inflect' 'python-jinja')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('61d6866cbd966a534788b947f949231d0e54e575d826a45953be850b470c00e76bd10faed076d548aef17ba29f81a6efd040c90b1d9a80bc709205879f9a266b')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ pytest -v
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 {AUTHORS,CONTRIBUTING,README}.rst \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list