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

Maxime Gauduin alucryd at archlinux.org
Thu Mar 12 09:14:57 UTC 2020


    Date: Thursday, March 12, 2020 @ 09:14:57
  Author: alucryd
Revision: 595079

archrelease: copy trunk to community-any

Added:
  python-django-modeltranslation/repos/community-any/PKGBUILD
    (from rev 595078, python-django-modeltranslation/trunk/PKGBUILD)
Deleted:
  python-django-modeltranslation/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   58 +++++++++++++++++++++++++++++++---------------------------
 1 file changed, 31 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-12 09:14:51 UTC (rev 595078)
+++ PKGBUILD	2020-03-12 09:14:57 UTC (rev 595079)
@@ -1,27 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=python-django-modeltranslation
-pkgver=0.12.2
-pkgrel=3
-pkgdesc='Translates Django models using a registration approach'
-arch=('any')
-url='https://github.com/deschler/django-modeltranslation'
-license=('BSD')
-depends=('python-django')
-makedepends=('python-setuptools')
-source=("django-modeltranslation-${pkgver}.tar.gz::https://github.com/deschler/django-modeltranslation/archive/${pkgver}.tar.gz")
-sha256sums=('cc17012514941689f62de943bb06c91bd96fe994b7548a80f504aa8f20f01a41')
-
-build() {
-  cd django-modeltranslation-${pkgver}
-  python3 setup.py build
-}
-
-package() {
-  cd django-modeltranslation-${pkgver}
-
-  python3 setup.py install --root="${pkgdir}" --optimize='1'
-  install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python-django-modeltranslation/
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-django-modeltranslation/repos/community-any/PKGBUILD (from rev 595078, python-django-modeltranslation/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-12 09:14:57 UTC (rev 595079)
@@ -0,0 +1,31 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-django-modeltranslation
+pkgver=0.12.2
+pkgrel=3
+pkgdesc='Translates Django models using a registration approach'
+arch=(any)
+url=https://github.com/deschler/django-modeltranslation
+license=(BSD)
+depends=(python-django)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/deschler/django-modeltranslation.git#tag=bb34e8cf96651ccd7a10b17f181eedb763c6cd0b)
+sha256sums=(SKIP)
+
+build() {
+  cd django-modeltranslation
+
+  python setup.py build
+}
+
+package() {
+  cd django-modeltranslation
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python-django-modeltranslation/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list