[arch-commits] Commit in python-django-modeltranslation/repos/community-any (2 files)
Maxime Gauduin
alucryd at archlinux.org
Tue May 5 11:13:36 UTC 2020
Date: Tuesday, May 5, 2020 @ 11:13:36
Author: alucryd
Revision: 624912
archrelease: copy trunk to community-any
Added:
python-django-modeltranslation/repos/community-any/PKGBUILD
(from rev 624911, python-django-modeltranslation/trunk/PKGBUILD)
Deleted:
python-django-modeltranslation/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-05 11:13:31 UTC (rev 624911)
+++ PKGBUILD 2020-05-05 11:13:36 UTC (rev 624912)
@@ -1,37 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=python-django-modeltranslation
-pkgver=v0.15.0
-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=3cad653a8c74cf6cf3409d4e81ffad8b50f751a5)
-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:
Copied: python-django-modeltranslation/repos/community-any/PKGBUILD (from rev 624911, python-django-modeltranslation/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-05 11:13:36 UTC (rev 624912)
@@ -0,0 +1,37 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-django-modeltranslation
+pkgver=0.15.0
+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=3cad653a8c74cf6cf3409d4e81ffad8b50f751a5)
+sha256sums=(SKIP)
+
+pkgver() {
+ cd django-modeltranslation
+
+ git describe --tags | sed 's/^v//'
+}
+
+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