[arch-commits] Commit in python-django-picklefield/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 04:17:23 UTC 2019
Date: Saturday, October 26, 2019 @ 04:17:23
Author: felixonmars
Revision: 519967
archrelease: copy trunk to community-staging-any
Added:
python-django-picklefield/repos/community-staging-any/
python-django-picklefield/repos/community-staging-any/PKGBUILD
(from rev 519965, python-django-picklefield/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-django-picklefield/repos/community-staging-any/PKGBUILD (from rev 519965, python-django-picklefield/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 04:17:23 UTC (rev 519967)
@@ -0,0 +1,28 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-django-picklefield
+pkgver=2.0.0
+pkgrel=2
+pkgdesc='A pickled object field for Django'
+arch=('any')
+url='https://github.com/gintas/django-picklefield'
+license=('MIT')
+depends=('python-django')
+makedepends=('git' 'python-setuptools')
+source=("git+https://github.com/gintas/django-picklefield.git#tag=v${pkgver}")
+sha256sums=('SKIP')
+
+build() {
+ cd django-picklefield
+
+ python setup.py build
+}
+
+package() {
+ cd django-picklefield
+
+ python setup.py install --skip-build --root="${pkgdir}" --optimize='1' --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-django-picklefield/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list