summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJoffrey2020-10-03 11:34:23 +0200
committerJoffrey2020-10-03 11:34:23 +0200
commitafb84d1f068fbafc06b60c10dd636bc86c254a6b (patch)
tree67608d7690a65a6e0ab3805d5e2a1363cecaae44 /PKGBUILD
parenta4bd041e71a527278cc21edfc704310794cd4a14 (diff)
downloadaur-afb84d1f068fbafc06b60c10dd636bc86c254a6b.tar.gz
Fix Django-rest-framework version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4dbf10a7665b..41deed2237cc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=seahub
pkgver=7.1.5
-pkgrel=1
+pkgrel=2
pkgdesc='The web frontend for seafile server'
arch=('any')
url='https://github.com/haiwen/seahub'
@@ -22,7 +22,6 @@ depends=(
'python-qrcode'
'python-django-formtools'
'python-django-simple-captcha'
- 'python-django-rest-framework'
'python-dateutil'
'python-requests'
'python-pillow'
@@ -40,11 +39,13 @@ optdepends=(
_thirdpart=(
'Django-1.11.29'
'django-picklefield-2.1.1'
+ 'django-rest-framework-3.11.1'
)
source=(
"$pkgname-$pkgver-server.tar.gz::$url/archive/v$pkgver-server.tar.gz"
"${_thirdpart[0],,}.tar.gz::https://media.djangoproject.com/releases/1.11/${_thirdpart[0]}.tar.gz"
"${_thirdpart[1],,}.tar.gz::https://github.com/gintas/${_thirdpart[1]%-*}/archive/v${_thirdpart[1]##*-}.tar.gz"
+ "${_thirdpart[2],,}.tar.gz::https://github.com/encode/${_thirdpart[2]%-*}/archive/${_thirdpart[2]##*-}.tar.gz"
'seahub@.service'
'nginx.example.conf'
)
@@ -52,6 +53,7 @@ sha256sums=(
'cc7f5a1642d203b2390ae3c30c8a5546d1e829d9d1a5ddf686e558292746ce5c'
'4200aefb6678019a0acf0005cd14cfce3a5e6b9b90d06145fcdd2e474ad4329c'
'5985205ec990ad1319e6d238616284b342f018d41a30dc089b76349fb17b15ae'
+ '513c0da69619e76715a4ac9149d7715751b9c4820a29476cb143f2bb6b5a3d11'
'67bb375871ce908b48bef53277284c9d8f80ee2e733efc89cb66d987647195e4'
'461591ba500d012523d6fdecbcc230461f6fd8d708b92eefdedc8b93b1542171'
)