Date: Wednesday, December 1, 2021 @ 14:47:37 Author: foutrelis Revision: 1059304
archrelease: copy trunk to community-staging-any Added: python-django-extensions/repos/community-staging-any/ python-django-extensions/repos/community-staging-any/PKGBUILD (from rev 1059302, python-django-extensions/trunk/PKGBUILD) ----------+ PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) Copied: python-django-extensions/repos/community-staging-any/PKGBUILD (from rev 1059302, python-django-extensions/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-12-01 14:47:37 UTC (rev 1059304) @@ -0,0 +1,51 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Jeremy Audet <ichimonj...@gmail.com> +# Contributor: Dominik Kozaczko <domi...@kozaczko.info> +# Contributor: Alper Kanat <alperka...@raptiye.org> +# Contributor: Apkawa <apk...@gmail.com> +# Contributor: Schnouki <thomas.j...@gmail.com> + +pkgname=python-django-extensions +pkgver=3.1.5 +pkgrel=2 +pkgdesc='A collection of custom extensions for the Django Framework' +arch=(any) +url=https://github.com/django-extensions/django-extensions +license=(MIT) +depends=( + python-django + python-six +) +makedepends=( + git + python-setuptools +) +optdepends=( + 'graphviz: graph_models extension' + 'ipython: shell_plus extension' + 'python-werkzeug: runserver_plus extension' +) +_tag=e43f383dae3a35237e42f6acfe1207a8e7e7bdf5 +source=(git+https://github.com/django-extensions/django-extensions.git#tag=${_tag}) +sha256sums=(SKIP) + +pkgver() { + cd django-extensions + + git describe --tags +} + +build() { + cd django-extensions + + python setup.py build +} + +package() { + cd django-extensions + + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-django-extensions/ +} + +# vim: ts=2 sw=2 et: