aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-oscar
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-09-25 22:32:21 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-09-25 22:32:21 +0300
commitc82a247edac48adfda9f721a5d6f8c3525ba8fd8 (patch)
tree74f4bf666f81d32d0a7c846e6ff89af0d2282251 /main/py-django-oscar
parentd463d1589d67f322eabd49166a2bdb78de0d0a34 (diff)
downloadaports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.bz2
aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.xz
main/py-django-oscar: moved from testing (with dependencies)
Diffstat (limited to 'main/py-django-oscar')
-rw-r--r--main/py-django-oscar/APKBUILD46
-rw-r--r--main/py-django-oscar/fi-django.mobin0 -> 139889 bytes
2 files changed, 46 insertions, 0 deletions
diff --git a/main/py-django-oscar/APKBUILD b/main/py-django-oscar/APKBUILD
new file mode 100644
index 0000000000..0565c208d9
--- /dev/null
+++ b/main/py-django-oscar/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+pkgname=py-django-oscar
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="Domain-driven e-commerce for Django"
+url=http://oscarcommerce.com/
+arch=noarch
+license=BSD
+depends="py-babel py-django py-django-compressor py-django-extra-views
+ py-django-haystack py-django-sorl-thumbnail py-django-tables2
+ py-django-treebeard py-django-widget-tweaks py-factory-boy py-mock
+ py-phonenumbers py-pillow py-purl py-unidecode"
+makedepends=py-setuptools
+source="https://pypi.python.org/packages/source/d/django-oscar/django-oscar-$pkgver.tar.gz
+ fi-django.mo"
+
+_builddir=$srcdir/django-oscar-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+
+ cp -v "$srcdir/fi-django.mo" src/oscar/locale/fi/LC_MESSAGES/django.mo
+}
+
+build() {
+ cd "$_builddir"
+ ./setup.py build
+}
+
+package() {
+ cd "$_builddir"
+ ./setup.py install --root "$pkgdir"
+}
+
+md5sums="6e4137e1dda326b2ccf410eee5530c71 django-oscar-1.1.1.tar.gz
+ff0a1a2d4de717c5d273ab3670d77a7d fi-django.mo"
+sha256sums="61771da93e10f3a51c80ce54e2736202e60a58ada50317d7fa110f5d1410cdf5 django-oscar-1.1.1.tar.gz
+cac43ae6e475de7a4fab12df871f4f3d654c4def109aef77c45a654df1f39e1d fi-django.mo"
+sha512sums="4f94021b169970585f1407aa90538053cbcfc78c3946dc7a107c91cc2970ac3ddbbd4eaf34327748fbc62e5e7c52d311a62c2fd80e4e760ab654b4b075eec215 django-oscar-1.1.1.tar.gz
+ed72ed185e1e5da4f9174ded619ca7b39d2ed096b2a49d34967f970545a598a3a4e344095c61f84b7c4ccbbc37988bf8836988897fc98ea70ee9760a1d61796c fi-django.mo"
diff --git a/main/py-django-oscar/fi-django.mo b/main/py-django-oscar/fi-django.mo
new file mode 100644
index 0000000000..4bbda12a7f
--- /dev/null
+++ b/main/py-django-oscar/fi-django.mo
Binary files differ