Date: Tuesday, March 30, 2021 @ 14:25:54 Author: felixonmars Revision: 910485
archrelease: copy trunk to community-any Added: python-click/repos/community-any/PKGBUILD (from rev 910484, python-click/trunk/PKGBUILD) Deleted: python-click/repos/community-any/PKGBUILD ----------+ PKGBUILD | 67 +++++++++++++++++++++++-------------------------------------- 1 file changed, 26 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-30 14:25:37 UTC (rev 910484) +++ PKGBUILD 2021-03-30 14:25:54 UTC (rev 910485) @@ -1,41 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Carl George < arch at cgtx dot us > - -pkgbase=python-click -pkgname=("python-click" "python2-click") -_realname=click -pkgver=7.1.2 -pkgrel=3 -pkgdesc="A simple wrapper around optparse for powerful command line utilities" -arch=("any") -url="http://click.pocoo.org/" -license=("BSD") -makedepends=("python-setuptools" "python2-setuptools") -source=("$pkgname-$pkgver.tar.gz::https://github.com/pallets/click/archive/${pkgver}.tar.gz") -sha512sums=('d0caf2fb0a258774a18a7b8f83bdfa73abeb70196a70b45a6cc35befaeb862d068d2f2cce4e27201ab2e3adcd02e7e2f099d6c37c497a507010eefa10ad16eba') - -prepare() { - cp -a $_realname-$pkgver{,-python2} -} - -build() { - cd "${srcdir}/${_realname}-${pkgver}" - python setup.py build - - cd "${srcdir}/${_realname}-${pkgver}-python2" - python2 setup.py build -} - -package_python-click() { - depends=("python") - cd "${srcdir}/${_realname}-${pkgver}" - python setup.py install --skip-build --root="${pkgdir}" --optimize=1 - install -Dm644 "LICENSE.rst" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.rst" -} - -package_python2-click() { - depends=("python2") - cd "${srcdir}/${_realname}-${pkgver}-python2" - python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1 - install -Dm644 "LICENSE.rst" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.rst" -} Copied: python-click/repos/community-any/PKGBUILD (from rev 910484, python-click/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-30 14:25:54 UTC (rev 910485) @@ -0,0 +1,26 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Carl George < arch at cgtx dot us > + +pkgname=python-click +_realname=click +pkgver=7.1.2 +pkgrel=4 +pkgdesc="A simple wrapper around optparse for powerful command line utilities" +arch=("any") +url="http://click.pocoo.org/" +license=("BSD") +depends=("python") +makedepends=("python-setuptools") +source=("https://github.com/pallets/click/archive/${pkgver}/$pkgname-$pkgver.tar.gz") +sha512sums=('d0caf2fb0a258774a18a7b8f83bdfa73abeb70196a70b45a6cc35befaeb862d068d2f2cce4e27201ab2e3adcd02e7e2f099d6c37c497a507010eefa10ad16eba') + +build() { + cd "${srcdir}/${_realname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + python setup.py install --skip-build --root="${pkgdir}" --optimize=1 + install -Dm644 "LICENSE.rst" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.rst" +}