[arch-commits] Commit in python-django-extensions/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 04:57:45 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:57:44
  Author: felixonmars
Revision: 749197

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 749196, python-django-extensions/trunk/PKGBUILD)

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Copied: python-django-extensions/repos/community-staging-any/PKGBUILD (from rev 749196, python-django-extensions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:57:44 UTC (rev 749197)
@@ -0,0 +1,51 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jeremy Audet <ichimonji10 at gmail.com>
+# Contributor: Dominik Kozaczko <dominik at kozaczko.info>
+# Contributor: Alper Kanat <alperkanat at raptiye.org>
+# Contributor: Apkawa <apkawa at gmail.com>
+# Contributor: Schnouki <thomas.jost at gmail.com>
+
+pkgname=python-django-extensions
+pkgver=3.0.9
+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=bc857a38b7f72630760aa5bbb50e78bdcc616442
+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:



More information about the arch-commits mailing list