summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Endfinger2020-01-15 15:06:11 -0500
committerKenneth Endfinger2020-01-15 15:06:11 -0500
commit01e76358708aa07df595813a744b837f2eb89ef8 (patch)
tree831a060b0781a2820b3140f52ee1ddcb597908b8
parent590e302821b8b8d7260cb363a3329fb66c3b3e04 (diff)
downloadaur-01e76358708aa07df595813a744b837f2eb89ef8.tar.gz
v2.2.0
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD10
-rwxr-xr-xcheck-for-update.sh17
4 files changed, 32 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48b7e06ce8a..c8e19f88fe4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Wed Dec 30 22:49:57 UTC 2015
pkgbase = django-rq
pkgdesc = A simple app that provides django integration for RQ (Redis Queue)
- pkgver = 0.9.0
- pkgrel = 2
+ pkgver = 2.2.0
+ pkgrel = 1
url = https://github.com/ui/django-rq
arch = any
license = MIT
@@ -15,8 +13,8 @@ pkgbase = django-rq
makedepends = python2-setuptools
makedepends = python2-django
makedepends = python2-rq
- source = https://github.com/ui/django-rq/archive/v0.9.0.tar.gz
- md5sums = 64a19889ae830de823154df5b5302209
+ source = django-rq-2.2.0.tar.gz::https://github.com/ui/django-rq/archive/v2.2.0.tar.gz
+ sha512sums = 3d3212348892bc4899b4939ab7d2fee3f5a77e962e7c0bc68238f5197a12abc44b960e91831ecf6f7de97be06be82ad2e0e9aa8591841cbaed14d0a569042c7f
pkgname = python-django-rq
depends = python
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..decdae6da9d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+/src
+/pkg
+/index
+*.xz
+*.tar.*
+*.pkg.*
diff --git a/PKGBUILD b/PKGBUILD
index 43ae5f13a0f..3f93621f5d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,17 @@
-# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
+# Maintainer: Kenneth Endfinger <kaendfinger@gmail.com>
pkgbase=django-rq
pkgname=('python-django-rq' 'python2-django-rq')
-pkgver=0.9.0
-pkgrel=2
+pkgver=2.2.0
+pkgrel=1
pkgdesc="A simple app that provides django integration for RQ (Redis Queue)"
arch=('any')
license=('MIT')
url="https://github.com/ui/django-rq"
makedepends=('python' 'python-setuptools' 'python-django' 'python-rq'
'python2' 'python2-setuptools' 'python2-django' 'python2-rq')
-source=("https://github.com/ui/django-rq/archive/v${pkgver}.tar.gz")
-md5sums=('64a19889ae830de823154df5b5302209')
+source=("django-rq-${pkgver}.tar.gz::https://github.com/ui/django-rq/archive/v${pkgver}.tar.gz")
+sha512sums=('3d3212348892bc4899b4939ab7d2fee3f5a77e962e7c0bc68238f5197a12abc44b960e91831ecf6f7de97be06be82ad2e0e9aa8591841cbaed14d0a569042c7f')
package_python-django-rq() {
depends=('python' 'python-django' 'python-rq')
diff --git a/check-for-update.sh b/check-for-update.sh
new file mode 100755
index 00000000000..5406423ad97
--- /dev/null
+++ b/check-for-update.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+set -e
+
+cd $(dirname "${0}")
+
+REPOSITORY="ui/django-rq"
+
+PKG=$(cat .SRCINFO | grep "pkgbase" | head -n1 | awk '{print $3}')
+CURRENT=$(cat .SRCINFO | grep "pkgver" | head -n1 | awk '{print $3}')
+LATEST=$(curl --silent -L "https://api.github.com/repos/${REPOSITORY}/tags" | jq -r '.[].name' | grep -v -- "-" | head -n1 | sed 's/v//g')
+if [ "${LATEST}" != "${CURRENT}" ]
+then
+ echo "${PKG} : AUR ${CURRENT} != GitHub ${LATEST}"
+ exit 1
+fi
+echo "${PKG} : AUR ${CURRENT} == GitHub ${LATEST}"
+exit 0