summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rawlinson2021-04-13 22:42:28 +0000
committerGeorge Rawlinson2021-04-13 22:42:28 +0000
commit8a34546f04524b24852b416f1136023b094499ea (patch)
tree49ed15465fb650d43219e9f32a76e0f85d743367
parente028231c38c1ea64bfd26c9f8240ae4dcd9305bb (diff)
downloadaur-8a34546f04524b24852b416f1136023b094499ea.tar.gz
upgpkg: python-auto-changelog 0.53-1
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD12
2 files changed, 15 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7e135591f52..10b4d88b5d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,19 @@
pkgbase = python-auto-changelog
pkgdesc = Generates changelogs for git repositories using conventional style commit messages
- pkgver = 0.5.1
- pkgrel = 2
+ pkgver = 0.5.3
+ pkgrel = 1
url = https://github.com/Michael-F-Bryan/auto-changelog
arch = any
license = MIT
+ checkdepends = python-pytest
+ checkdepends = python-pytest-runner
makedepends = python-dephell
depends = python-jinja
depends = python-gitpython
depends = python-docopt
depends = python-click
- source = python-auto-changelog-0.5.1.tar.gz::https://github.com/Michael-F-Bryan/auto-changelog/archive/0.5.1.tar.gz
- b2sums = ba8db56292d62cacc81e8559eb74900e0f3b3994a996c19517417a7f8cb477cb6510dc994d2ce24ea9de17fd1f3ab2221458ee14920ba42b313f96f8a0b549eb
+ source = python-auto-changelog-0.5.3.tar.gz::https://github.com/Michael-F-Bryan/auto-changelog/archive/0.5.3.tar.gz
+ b2sums = ebac96acd5dc1abc318e6bdc492277b73aee8cbed750ecec002ad1777be5d9e013f52d8d42083691cad323e75486406ed9e895d283a688fa754f9362a42debbe
pkgname = python-auto-changelog
diff --git a/PKGBUILD b/PKGBUILD
index b99516e028c..b7375dce12d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,17 @@
pkgname=python-auto-changelog
_pkgname="${pkgname#python-}"
_name="${_pkgname/-/_}"
-pkgver=0.5.1
-pkgrel=2
+pkgver=0.5.3
+pkgrel=1
pkgdesc="Generates changelogs for git repositories using conventional style commit messages"
arch=('any')
url="https://github.com/Michael-F-Bryan/auto-changelog"
license=('MIT')
depends=('python-jinja' 'python-gitpython' 'python-docopt' 'python-click')
makedepends=('python-dephell')
+checkdepends=('python-pytest' 'python-pytest-runner')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-b2sums=('ba8db56292d62cacc81e8559eb74900e0f3b3994a996c19517417a7f8cb477cb6510dc994d2ce24ea9de17fd1f3ab2221458ee14920ba42b313f96f8a0b549eb')
+b2sums=('ebac96acd5dc1abc318e6bdc492277b73aee8cbed750ecec002ad1777be5d9e013f52d8d42083691cad323e75486406ed9e895d283a688fa754f9362a42debbe')
prepare() {
cd "$_pkgname-$pkgver"
@@ -24,6 +25,11 @@ build() {
python setup.py build
}
+check() {
+ cd "$_pkgname-$pkgver"
+ python setup.py pytest
+}
+
package() {
cd "$_pkgname-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build