~roshless/PKGBUILDs

9570e7425c06e2850304efa3f7bd88398b7cc964 — Roshless 7 months ago 0e24b3c
upgpkg: python-django-prometheus 2.1.0-3

add missing dependency and optional dependencies
2 files changed, 13 insertions(+), 3 deletions(-)

M python-django-prometheus/.SRCINFO
M python-django-prometheus/PKGBUILD
M python-django-prometheus/.SRCINFO => python-django-prometheus/.SRCINFO +6 -1
@@ 1,13 1,18 @@
pkgbase = python-django-prometheus
	pkgdesc = Export Django monitoring metrics for Prometheus.io
	pkgver = 2.1.0
	pkgrel = 2
	pkgrel = 3
	url = https://github.com/korfuri/django-prometheus
	arch = any
	license = Apache
	makedepends = python-setuptools
	makedepends = python-pip
	depends = python-django
	depends = python-prometheus_client
	optdepends = python-psycopg2: PostgreSQL database monitoring
	optdepends = python-mysqlclient: MySQL database monitoring
	optdepends = python-memcached: memcached monitoring
	optdepends = python-django-redis: redis monitoring
	source = https://files.pythonhosted.org/packages/source/d/django-prometheus/django-prometheus-2.1.0.tar.gz
	md5sums = 088d85f344de189989748cd790918ebc


M python-django-prometheus/PKGBUILD => python-django-prometheus/PKGBUILD +7 -2
@@ 3,13 3,18 @@
pkgname=python-django-prometheus
_name=${pkgname#python-}
pkgver=2.1.0
pkgrel=2
pkgrel=3
pkgdesc='Export Django monitoring metrics for Prometheus.io'
url='https://github.com/korfuri/django-prometheus'
arch=('any')
license=('Apache')
depends=('python-django')
depends=('python-django'
	 'python-prometheus_client')
makedepends=('python-setuptools' 'python-pip')
optdepends=('python-psycopg2: PostgreSQL database monitoring'
	    'python-mysqlclient: MySQL database monitoring'
	    'python-memcached: memcached monitoring'
	    'python-django-redis: redis monitoring')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")

build() {