Date: Sunday, August 1, 2021 @ 17:10:30 Author: felixonmars Revision: 991969
archrelease: copy trunk to community-any Added: python-pytest-checkdocs/repos/community-any/PKGBUILD (from rev 991968, python-pytest-checkdocs/trunk/PKGBUILD) Deleted: python-pytest-checkdocs/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-01 17:10:21 UTC (rev 991968) +++ PKGBUILD 2021-08-01 17:10:30 UTC (rev 991969) @@ -1,36 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-pytest-checkdocs -pkgver=2.7.0 -pkgrel=1 -pkgdesc='Check the README when running tests' -arch=('any') -license=('MIT') -url='https://github.com/jaraco/pytest-checkdocs' -depends=('python-docutils' 'python-importlib-metadata' 'python-pep517') -makedepends=('python-pip' 'python-setuptools-scm' 'python-toml') -checkdepends=('python-jaraco.test' 'python-pytest-black' 'python-pytest-cov' 'python-pytest-flake8' - 'python-pytest-mypy') -source=("https://github.com/jaraco/pytest-checkdocs/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('ebd7f06c46b2dbe996564a080b8c030aa21af025da91eec916a772ad4eaf9eb11c1f1734bafbf5bbd2de2f16b041788e28377ea99a4c5adfef8287a810650a45') - -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - -build() { - cd pytest-checkdocs-$pkgver - python setup.py build -} - -check() { - cd pytest-checkdocs-$pkgver - python setup.py egg_info - PYTHONPATH="$PWD" pytest -} - -package() { - cd pytest-checkdocs-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ -} - -# vim:set ts=2 sw=2 et: Copied: python-pytest-checkdocs/repos/community-any/PKGBUILD (from rev 991968, python-pytest-checkdocs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-01 17:10:30 UTC (rev 991969) @@ -0,0 +1,36 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pytest-checkdocs +pkgver=2.7.1 +pkgrel=1 +pkgdesc='Check the README when running tests' +arch=('any') +license=('MIT') +url='https://github.com/jaraco/pytest-checkdocs' +depends=('python-docutils' 'python-importlib-metadata' 'python-pep517') +makedepends=('python-pip' 'python-setuptools-scm' 'python-toml') +checkdepends=('python-jaraco.test' 'python-pytest-black' 'python-pytest-cov' 'python-pytest-flake8' + 'python-pytest-mypy') +source=("https://github.com/jaraco/pytest-checkdocs/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('b42d63a4ddbb6835d07d457fd5758a06cafc071ee61f0216eadf7f62eedf27a18f51a7c7694c84ab32975c76c3fd1f642140522d21737a2f83f7bf63e0983204') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd pytest-checkdocs-$pkgver + python setup.py build +} + +check() { + cd pytest-checkdocs-$pkgver + python setup.py egg_info + PYTHONPATH="$PWD" pytest +} + +package() { + cd pytest-checkdocs-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +} + +# vim:set ts=2 sw=2 et: