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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 07:41:23 UTC 2019


    Date: Monday, November 4, 2019 @ 07:41:22
  Author: felixonmars
Revision: 523543

archrelease: copy trunk to community-staging-any

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

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

Copied: python-django-modeltranslation/repos/community-staging-any/PKGBUILD (from rev 523542, python-django-modeltranslation/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 07:41:22 UTC (rev 523543)
@@ -0,0 +1,27 @@
+# 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:



More information about the arch-commits mailing list