[arch-commits] Commit in python-django-guardian/repos/community-any (2 files)
David Runge
dvzrv at archlinux.org
Tue Feb 4 16:11:59 UTC 2020
Date: Tuesday, February 4, 2020 @ 16:11:58
Author: dvzrv
Revision: 562056
archrelease: copy trunk to community-any
Added:
python-django-guardian/repos/community-any/PKGBUILD
(from rev 562055, python-django-guardian/trunk/PKGBUILD)
Deleted:
python-django-guardian/repos/community-any/PKGBUILD
----------+
PKGBUILD | 81 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-04 16:11:41 UTC (rev 562055)
+++ PKGBUILD 2020-02-04 16:11:58 UTC (rev 562056)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=django-guardian
-pkgname=python-django-guardian
-pkgver=2.1.0
-pkgrel=1
-pkgdesc="Per object permissions for Django"
-arch=('any')
-url="https://github.com/django-guardian/django-guardian"
-license=('BSD' 'MIT')
-depends=('python-django' 'python-django-environ')
-makedepends=('python-setuptools')
-checkdepends=('python-mock' 'python-pytest' 'python-pytest-django')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('32c247fc5ae54f8be43181f08a0333263ee8f02064625a80b8d1b14868871b47638231e3fd101643c8cd0bb59e2c15e1cff7dfe151588d5626930c50ace20ec7')
-
-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,CHANGES,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: python-django-guardian/repos/community-any/PKGBUILD (from rev 562055, python-django-guardian/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-04 16:11:58 UTC (rev 562056)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=django-guardian
+pkgname=python-django-guardian
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="Per object permissions for Django"
+arch=('any')
+url="https://github.com/django-guardian/django-guardian"
+license=('BSD' 'MIT')
+depends=('python-django' 'python-django-environ')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-pytest' 'python-pytest-django')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('155a937ebe975053ac64e258d0e2e956e93751541f5ea993e7e9a46f074eeec034100fed404067327add28565d3e9ce7ad734e9a6ee7a5ecf3dfe4e6b3a61e80')
+
+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,CHANGES,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