[arch-commits] Commit in python-django-modeltranslation/repos/community-any (2 files)
Maxime Gauduin
alucryd at archlinux.org
Fri Apr 7 20:31:06 UTC 2017
Date: Friday, April 7, 2017 @ 20:31:05
Author: alucryd
Revision: 221318
archrelease: copy trunk to community-any
Added:
python-django-modeltranslation/repos/community-any/PKGBUILD
(from rev 221317, python-django-modeltranslation/trunk/PKGBUILD)
Deleted:
python-django-modeltranslation/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-07 20:30:52 UTC (rev 221317)
+++ PKGBUILD 2017-04-07 20:31:05 UTC (rev 221318)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgbase=python-django-modeltranslation
-pkgname=('python-django-modeltranslation' 'python2-django-modeltranslation')
-pkgver=0.12
-pkgrel=2
-pkgdesc='Translates Django models using a registration approach'
-arch=('any')
-url='https://github.com/deschler/django-modeltranslation'
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("django-modeltranslation-${pkgver}.tar.gz::https://github.com/deschler/django-modeltranslation/archive/${pkgver}.tar.gz")
-sha256sums=('SKIP')
-
-prepare() {
- cp -r {,python-}django-modeltranslation-${pkgver}
- mv {,python2-}django-modeltranslation-${pkgver}
-}
-
-build() {
- for py in python{,2}; do
- pushd ${py}-django-modeltranslation-${pkgver}
- ${py} setup.py build
- popd
- done
-}
-
-package_python-django-modeltranslation() {
- depends=('python-django')
-
- cd python-django-modeltranslation-${pkgver}
-
- python setup.py install --root="${pkgdir}" --optimize='1'
- install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python-django-modeltranslation/
-}
-
-package_python2-django-modeltranslation() {
- depends=('python2-django')
-
- cd python2-django-modeltranslation-${pkgver}
-
- python2 setup.py install --root="${pkgdir}" --optimize='1'
- install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python2-django-modeltranslation/
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-django-modeltranslation/repos/community-any/PKGBUILD (from rev 221317, python-django-modeltranslation/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-04-07 20:31:05 UTC (rev 221318)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgbase=python-django-modeltranslation
+pkgname=('python-django-modeltranslation' 'python2-django-modeltranslation')
+pkgver=0.12.1
+pkgrel=1
+pkgdesc='Translates Django models using a registration approach'
+arch=('any')
+url='https://github.com/deschler/django-modeltranslation'
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("django-modeltranslation-${pkgver}.tar.gz::https://github.com/deschler/django-modeltranslation/archive/${pkgver}.tar.gz")
+sha256sums=('a8858670ec6bbb10482cbc893112066ed56fc1ea28396f8c4cbfe99d6bbb1b21')
+
+prepare() {
+ cp -r {,python-}django-modeltranslation-${pkgver}
+ mv {,python2-}django-modeltranslation-${pkgver}
+}
+
+build() {
+ for py in python{,2}; do
+ pushd ${py}-django-modeltranslation-${pkgver}
+ ${py} setup.py build
+ popd
+ done
+}
+
+package_python-django-modeltranslation() {
+ depends=('python-django')
+
+ cd python-django-modeltranslation-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize='1'
+ install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python-django-modeltranslation/
+}
+
+package_python2-django-modeltranslation() {
+ depends=('python2-django')
+
+ cd python2-django-modeltranslation-${pkgver}
+
+ python2 setup.py install --root="${pkgdir}" --optimize='1'
+ install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python2-django-modeltranslation/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list