Date: Thursday, November 19, 2020 @ 23:04:04 Author: foutrelis Revision: 757839
archrelease: copy trunk to community-any Added: python-sphinx-autodoc-typehints/repos/community-any/PKGBUILD (from rev 757838, python-sphinx-autodoc-typehints/trunk/PKGBUILD) Deleted: python-sphinx-autodoc-typehints/repos/community-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-19 23:04:01 UTC (rev 757838) +++ PKGBUILD 2020-11-19 23:04:04 UTC (rev 757839) @@ -1,40 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=python-sphinx-autodoc-typehints -_pyname=${pkgname/python-/} -_gitcommit=a1afbaba3067aee273ec0b14036e0f4ac44f79a9 -pkgver=1.8.0 -pkgrel=3 -pkgdesc='Type hints support for the Sphinx autodoc extension' -url='https://github.com/agronholm/sphinx-autodoc-typehints' -arch=('any') -license=('MIT') -depends=('python' 'python-sphinx' 'python-typing_extensions') -makedepends=('git' 'python-setuptools' 'python-setuptools-scm') -checkdepends=('python-pytest') -source=("git+https://github.com/agronholm/sphinx-autodoc-typehints#commit=${_gitcommit}") -sha512sums=('SKIP') - -pkgver() { - cd ${_pyname} - git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' -} - -build() { - cd ${_pyname} - python setup.py build -} - -check() { - cd ${_pyname} - PYTHONPATH=. py.test -k 'not test_sphinx_output' -} - -package() { - cd ${_pyname} - python setup.py install -O1 --root="${pkgdir}" --skip-build - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: python-sphinx-autodoc-typehints/repos/community-any/PKGBUILD (from rev 757838, python-sphinx-autodoc-typehints/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-19 23:04:04 UTC (rev 757839) @@ -0,0 +1,40 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=python-sphinx-autodoc-typehints +_pyname=${pkgname/python-/} +_gitcommit=2fac99f455855c832b22a272edde3f9852ba6a04 +pkgver=1.11.1 +pkgrel=1 +pkgdesc='Type hints support for the Sphinx autodoc extension' +url='https://github.com/agronholm/sphinx-autodoc-typehints' +arch=('any') +license=('MIT') +depends=('python' 'python-sphinx' 'python-typing_extensions') +makedepends=('git' 'python-setuptools' 'python-setuptools-scm') +checkdepends=('python-pytest' 'python-sphobjinv') +source=("git+https://github.com/agronholm/sphinx-autodoc-typehints#commit=${_gitcommit}") +sha512sums=('SKIP') + +pkgver() { + cd ${_pyname} + git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd ${_pyname} + python setup.py build +} + +check() { + cd ${_pyname} + PYTHONPATH=. pytest +} + +package() { + cd ${_pyname} + python setup.py install -O1 --root="${pkgdir}" --skip-build + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim: ts=2 sw=2 et: