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

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 24 05:08:48 UTC 2018


    Date: Tuesday, July 24, 2018 @ 05:08:47
  Author: foutrelis
Revision: 363249

archrelease: copy trunk to community-staging-any

Added:
  python-django-extensions/repos/community-staging-any/PKGBUILD
    (from rev 363248, python-django-extensions/trunk/PKGBUILD)
Deleted:
  python-django-extensions/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   97 +++++++++++++++++++++++++------------------------------------
 1 file changed, 40 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-24 05:08:41 UTC (rev 363248)
+++ PKGBUILD	2018-07-24 05:08:47 UTC (rev 363249)
@@ -1,57 +0,0 @@
-# $Id$
-# 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>
-
-pkgbase=python-django-extensions
-pkgname=('python-django-extensions' 'python2-django-extensions')
-pkgver=2.0.7
-pkgrel=2
-pkgdesc='A collection of custom extensions for the Django Framework'
-arch=('any')
-url='http://github.com/django-extensions/django-extensions'
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-optdepends=('graphviz: graph_models extension')
-source=("django-extensions-${pkgver}.tar.gz::https://github.com/django-extensions/django-extensions/archive/${pkgver}.tar.gz")
-sha256sums=('4430da44bfef4130ba7672e613e12333fe865e34656f8be2dd67fb0ccac584bc')
-
-prepare() {
-  cp -r {,python-}django-extensions-${pkgver}
-  mv {,python2-}django-extensions-${pkgver}
-}
-
-build() {
-  for py in python{,2}; do
-    pushd ${py}-django-extensions-${pkgver}
-    ${py} setup.py build
-    popd
-  done
-}
-
-package_python-django-extensions() {
-  depends=('python-django' 'python-six')
-  optdepends+=('python-werkzeug: runserver_plus extension'
-               'ipython: shell_plus extension')
-
-  cd python-django-extensions-${pkgver}
-
-  python setup.py install --root="${pkgdir}" --optimize='1'
-  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-django-extensions/
-}
-
-package_python2-django-extensions() {
-  depends=('python2-django' 'python2-six')
-  optdepends+=('python2-werkzeug: runserver_plus extension'
-               'ipython2: shell_plus extensions')
-
-  cd python2-django-extensions-${pkgver}
-
-  python2 setup.py install --root="${pkgdir}" --optimize='1'
-  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python2-django-extensions/
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-django-extensions/repos/community-staging-any/PKGBUILD (from rev 363248, python-django-extensions/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-24 05:08:47 UTC (rev 363249)
@@ -0,0 +1,40 @@
+# $Id$
+# 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=2.1.0
+pkgrel=2
+pkgdesc='A collection of custom extensions for the Django Framework'
+arch=('any')
+url='http://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'
+)
+source=("git+https://github.com/django-extensions/django-extensions.git#tag=${pkgver}")
+sha256sums=('SKIP')
+
+build() {
+  cd django-extensions
+
+  python setup.py build
+}
+
+package_python-django-extensions() {
+
+  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