diff options
author | Universebenzene | 2023-09-07 13:53:18 +0800 |
---|---|---|
committer | Universebenzene | 2023-09-07 13:53:18 +0800 |
commit | 32a9a107d7b8bcbbcb22168bf2e858660f471614 (patch) | |
tree | bc191203e47f7a61c60b00d5b7a6257aa32a8be4 | |
parent | eca73bf59c3d17e353135741335749933ad31ff0 (diff) | |
download | aur-32a9a107d7b8bcbbcb22168bf2e858660f471614.tar.gz |
Update to version 1.2.0
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 17 |
3 files changed, 20 insertions, 7 deletions
@@ -1,17 +1,20 @@ pkgbase = mkdocs-git-committers-plugin-2 pkgdesc = An MkDocs plugin to create a list of contributors on the page - pkgver = 1.1.2 + pkgver = 1.2.0 pkgrel = 1 url = https://github.com/ojacques/mkdocs-git-committers-plugin-2 arch = any license = MIT checkdepends = python-nose makedepends = python-setuptools-scm - source = https://files.pythonhosted.org/packages/source/m/mkdocs-git-committers-plugin-2/mkdocs-git-committers-plugin-2-1.1.2.tar.gz - md5sums = 6c5c92917d94d2e3147d4bf1b38781fe + source = https://files.pythonhosted.org/packages/source/m/mkdocs-git-committers-plugin-2/mkdocs-git-committers-plugin-2-1.2.0.tar.gz + source = 1.2.0-requirements.txt::https://raw.githubusercontent.com/ojacques/mkdocs-git-committers-plugin-2/1.2.0/requirements.txt + md5sums = 1abab861727c801a89186c761caae8b5 + md5sums = 88ad091f4b0b71e1355dd7426ba39c49 pkgname = mkdocs-git-committers-plugin-2 depends = mkdocs>=1.0.3, depends = python-gitpython + depends = python-lxml>=4.9 depends = python-requests depends = python-beautifulsoup4 diff --git a/.gitignore b/.gitignore index e896dcd6056d..729cb4119247 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ pkg *.part *.pkg.tar.* *.log +*.txt @@ -3,7 +3,7 @@ pkgbase=mkdocs-git-committers-plugin-2 _pyname=${pkgbase} pkgname=("${_pyname}") -pkgver=1.1.2 +pkgver=1.2.0 pkgrel=1 pkgdesc="An MkDocs plugin to create a list of contributors on the page" arch=('any') @@ -15,8 +15,16 @@ makedepends=('python-setuptools-scm') # 'python-installer') #checkdepends=('python-pytest') checkdepends=('python-nose') -source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz") -md5sums=('6c5c92917d94d2e3147d4bf1b38781fe') +source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz" + "${pkgver}-requirements.txt::https://raw.githubusercontent.com/ojacques/mkdocs-git-committers-plugin-2/${pkgver}/requirements.txt") +md5sums=('1abab861727c801a89186c761caae8b5' + '88ad091f4b0b71e1355dd7426ba39c49') + +prepare() { + cd ${srcdir}/${_pyname}-${pkgver} + + ln -rs {${srcdir}/${pkgver}-,}requirements.txt +} build() { cd ${srcdir}/${_pyname}-${pkgver} @@ -29,12 +37,13 @@ check() { cd ${srcdir}/${_pyname}-${pkgver} # pytest -vv --color=yes - nosetests || warning "Tests failed" + nosetests || warning "Tests failed" # -v -x } package_mkdocs-git-committers-plugin-2() { depends=('mkdocs>=1.0.3', 'python-gitpython' + 'python-lxml>=4.9' 'python-requests' 'python-beautifulsoup4') cd ${srcdir}/${_pyname}-${pkgver} |