diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-02-02 16:48:24 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-02-02 16:48:24 +0100 |
commit | 9d40cb2358f50a95f16256fb4162a469cdca8a99 (patch) | |
tree | fef2e0c19e639deb06fa48192750f4de1ebde81b /pcr/python-django-cms | |
parent | 69625a4954962468a7e8bb1e206bca54ee0efd72 (diff) | |
download | abslibre-9d40cb2358f50a95f16256fb4162a469cdca8a99.tar.gz abslibre-9d40cb2358f50a95f16256fb4162a469cdca8a99.tar.bz2 abslibre-9d40cb2358f50a95f16256fb4162a469cdca8a99.zip |
pcr/python-django-cms: renamed from django-cms and updated
Diffstat (limited to 'pcr/python-django-cms')
-rw-r--r-- | pcr/python-django-cms/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/python-django-cms/PKGBUILD b/pcr/python-django-cms/PKGBUILD new file mode 100644 index 000000000..7f9e5bf8e --- /dev/null +++ b/pcr/python-django-cms/PKGBUILD @@ -0,0 +1,33 @@ +# Contributor (Arch): Baptiste Jonglez <baptiste--aur at jonglez dot org> +# Contributor (Arch): Fabio Volpe <volpefabio@gmail.com> +# Contributor (Arch): Apkawa <apkawa@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.io> + +# parabola changes and rationale: +# - added replaces for previous pkgname 'django-cms' (2018-02-01) +# - added makedepends: python-setuptools python2-setuptools + +pkgname=("python-django-cms" "python2-django-cms") +pkgbase="python-django-cms" +pkgver=3.4.1 +pkgrel=1 +pkgdesc="An Advanced Django CMS" +url="https://django-cms.org" +arch=('any') +license=('BSD') +makedepends=('python-setuptools' 'python2-setuptools') +source=("$pkgname-$pkgver.tar.gz::https://github.com/divio/django-cms/archive/$pkgver.tar.gz") +md5sums=('458e98b6b83edc60088eb48edba16b84') + +package_python-django-cms() { + depends=("python-django" "python-django-classy-tags" "python-django-formtools" "python-treebeard" "python-django-sekizai" "python-djangocms-admin-style") + cd django-cms-$pkgver + python setup.py install --root="${pkgdir}/" --optimize=1 +} + +package_python2-django-cms() { + depends=("python2-django" "python2-django-classy-tags" "python2-django-formtools" "python2-treebeard" "python2-django-sekizai" "python2-djangocms-admin-style") + replaces=("django-cms") + cd django-cms-$pkgver + python setup.py install --root="${pkgdir}/" --optimize=1 +} |