[arch-commits] Commit in python-django-modeltranslation/repos/community-any (2 files)
Maxime Gauduin
alucryd at archlinux.org
Thu Mar 12 16:15:32 UTC 2020
Date: Thursday, March 12, 2020 @ 16:15:32
Author: alucryd
Revision: 595307
archrelease: copy trunk to community-any
Added:
python-django-modeltranslation/repos/community-any/PKGBUILD
(from rev 595306, python-django-modeltranslation/trunk/PKGBUILD)
Deleted:
python-django-modeltranslation/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 37 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-12 16:15:26 UTC (rev 595306)
+++ PKGBUILD 2020-03-12 16:15:32 UTC (rev 595307)
@@ -1,31 +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=(
- 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:
Copied: python-django-modeltranslation/repos/community-any/PKGBUILD (from rev 595306, python-django-modeltranslation/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-12 16:15:32 UTC (rev 595307)
@@ -0,0 +1,37 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-django-modeltranslation
+pkgver=0.14.2
+pkgrel=1
+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)
+
+pkgver() {
+ cd django-modeltranslation
+
+ git describe --tags
+}
+
+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