aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-04-22 12:25:47 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-04-22 12:25:47 +0000
commit9eb6d40b994fcb341aaefeeec59f7045cd610844 (patch)
tree1decbf02a0a319c0316addce2ab61940b5bd7be9 /testing
parent83ef974548b2c7202744b30bdcd4cd8108ce5c92 (diff)
downloadaports-9eb6d40b994fcb341aaefeeec59f7045cd610844.tar.bz2
aports-9eb6d40b994fcb341aaefeeec59f7045cd610844.tar.xz
testing/patchwork: added support for pgsql as subpkg.
Diffstat (limited to 'testing')
-rw-r--r--testing/patchwork/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/testing/patchwork/APKBUILD b/testing/patchwork/APKBUILD
index c66d1d7a48..82f681e881 100644
--- a/testing/patchwork/APKBUILD
+++ b/testing/patchwork/APKBUILD
@@ -2,16 +2,16 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=patchwork
pkgver=0_git20150420
-pkgrel=1
+pkgrel=2
pkgdesc="Web-based patch tracking system "
url="http://jk.ozlabs.org/projects/patchwork/"
arch="noarch"
license="GPL"
-depends="py-django1.5 py-psycopg2 py-django-registration git"
+depends="py-django1.5 py-django-registration git"
depends_dev=""
makedepends="$depends_dev"
install=""
-subpackages="$pkgname-doc $pkgname-apache2-wsgi:apache2_wsgi $pkgname-mysql"
+subpackages="$pkgname-doc $pkgname-apache2-wsgi:apache2_wsgi $pkgname-mysql 4pkgname-postgresql"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz
0001-support-busybox-readlink.patch
patchwork.wsgi.conf"
@@ -48,7 +48,12 @@ apache2_wsgi() {
mysql() {
pkgdesc="$pkgname mysql support"
depends="py-mysqldb"
- install_if="py-mysqldb"
+ mkdir -p "$subpkgdir"
+}
+
+postgresql() {
+ pkgdesc="$pkgname postgresql support"
+ depends="py-psycopg2"
mkdir -p "$subpkgdir"
}