aboutsummaryrefslogtreecommitdiffstats
path: root/main/patchwork
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-06-13 13:38:49 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-06-13 13:43:22 +0000
commit842d2afe8c013ca51926d0727852fae42dbdfaf4 (patch)
tree8446287d8c83bc1e8beb7d1e472efc889c0f8946 /main/patchwork
parentc32d1800d75331040d163e4b8fb6952e6da46d84 (diff)
downloadaports-842d2afe8c013ca51926d0727852fae42dbdfaf4.tar.bz2
aports-842d2afe8c013ca51926d0727852fae42dbdfaf4.tar.xz
main/patchwork: renamed subpackages in order to be more consistent
Diffstat (limited to 'main/patchwork')
-rw-r--r--main/patchwork/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/patchwork/APKBUILD b/main/patchwork/APKBUILD
index 5f1fde1d43..a185bc849f 100644
--- a/main/patchwork/APKBUILD
+++ b/main/patchwork/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=patchwork
pkgver=1.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="Web-based patch tracking system "
url="http://jk.ozlabs.org/projects/patchwork/"
arch="noarch"
@@ -11,7 +11,7 @@ depends="py-django py-django-registration git py-psycopg2"
depends_dev=""
makedepends="$depends_dev"
install=""
-subpackages="$pkgname-doc $pkgname-apache2-wsgi:apache2_wsgi $pkgname-nginx_wsgi $pkgname-mysql
+subpackages="$pkgname-doc $pkgname-uwsgi-apache2:apache2_wsgi $pkgname-uwsgi-nginx:nginx_wsgi $pkgname-mysql
$pkgname-postgresql pwclient:pwclient"
source="$pkgname-$pkgver.tar.gz::https://github.com/getpatchwork/$pkgname/archive/v$pkgver.tar.gz
0001-support-busybox-readlink.patch
@@ -51,6 +51,7 @@ package() {
apache2_wsgi() {
pkgdesc="$pkgname apache2 wsgi support"
depends="apache2 apache2-mod-wsgi"
+ replaces="$pkgname-apache2-wsgi"
install_if="$pkgname=$pkgver-r$pkgrel apache2-mod-wsgi"
install -Dm644 "$pkgdir"/usr/share/webapps/patchwork/lib/apache2/patchwork.wsgi.conf \
"$subpkgdir"/etc/apache2/conf.d/patchwork.wsgi.conf || return 1
@@ -59,6 +60,7 @@ apache2_wsgi() {
nginx_wsgi() {
pkgdesc="$pkgname nginx wsgi support"
depends="nginx uwsgi-python"
+ replaces="$pkgname-nginx_wsgi"
install_if="nginx patchwork uwsgi"
install -Dm644 "$srcdir"/nginx-patchwork.conf \
"$subpkgdir"/etc/nginx/conf.d/patchwork.conf || return 1