diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2019-06-11 13:48:49 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2019-06-11 13:48:49 +0300 |
commit | 26b95be9101d963a0a51556e980a4ed3ad221561 (patch) | |
tree | 4603fe6e638a7ae4625ba3cc98438cc48c2bcd3c /unmaintained | |
parent | b31da4c95868cd79cd9f6651f3fd128504fe2814 (diff) | |
download | aports-26b95be9101d963a0a51556e980a4ed3ad221561.tar.bz2 aports-26b95be9101d963a0a51556e980a4ed3ad221561.tar.xz |
community/py-django-compressor: move to unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/py-django-compressor/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/unmaintained/py-django-compressor/APKBUILD b/unmaintained/py-django-compressor/APKBUILD new file mode 100644 index 0000000000..ff12006e9f --- /dev/null +++ b/unmaintained/py-django-compressor/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-compressor +_pkgname=django_compressor +pkgver=2.2 +pkgrel=1 +pkgdesc="JavaScript and CSS compressor for Django" +url="https://github.com/django-compressor/django-compressor" +arch="noarch" +license="MIT and Apache-2.0 and BSD" +depends="py-django py-django-appconf" +makedepends="py-setuptools" +source="https://files.pythonhosted.org/packages/source/d/$_pkgname/$_pkgname-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python2 setup.py build +} + +package() { + cd "$builddir" + python2 setup.py install --root "$pkgdir" +} + +sha512sums="f29aabb25c6e0fc4d7b8e7963ad4289ee06cab4400da7c9c544ccc85c53d584fcd135f41afd0ab93ab85ac6e15f751ccccf53b6b914f03f564b3a2679598cfe7 django_compressor-2.2.tar.gz" |