Date: Monday, May 31, 2021 @ 18:49:24 Author: felixonmars Revision: 952867
archrelease: copy trunk to community-any Added: sopel/repos/community-any/PKGBUILD (from rev 952866, sopel/trunk/PKGBUILD) Deleted: sopel/repos/community-any/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-31 18:49:04 UTC (rev 952866) +++ PKGBUILD 2021-05-31 18:49:24 UTC (rev 952867) @@ -1,43 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=sopel -pkgver=7.0.7 -pkgrel=1 -pkgdesc="An easy-to-use and highly extensible IRC Bot framework (Formerly Willie)" -arch=('any') -license=('custom:EFL') -url='https://sopel.chat' -depends=('python-setuptools' 'sqlite' 'python-xmltodict' 'python-pytz' 'python-praw' - 'python-geoip2' 'python-requests' 'python-dnspython' 'python-sqlalchemy') -makedepends=('python-sphinx' 'python-sphinxcontrib-autoprogram') -checkdepends=('python-pytest-runner') -backup=('etc/sopel.cfg') -source=("https://github.com/sopel-irc/sopel/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('41e4088d93de5835c6b89a9f59aa6dce41b0698d2744a4c8b9d62a6aecc8292ea2bddca66c660b7779fa235b8cca3c0eb2bcdaa5bed002e0ba6233ec45fd3b82') - -prepare() { - cd sopel-$pkgver - sed -i 's/<6/<8/' {dev-,}requirements.txt -} - -build() { - cd sopel-$pkgver - python setup.py build egg_info - PYTHONPATH="$PWD" make -C docs man -} - -check() { - cd sopel-$pkgver - LC_CTYPE=en_US.UTF-8 python setup.py pytest --addopts "--ignore build/" -} - -package() { - cd sopel-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm644 contrib/sopel.cfg "$pkgdir/etc/sopel.cfg" - install -Dm644 contrib/sopel.service "$pkgdir/usr/lib/systemd/system/sopel.service" - install -Dm644 contrib/sopel.conf "$pkgdir/usr/lib/tmpfiles.d/sopel.conf" - install -Dm644 docs/build/man/sopel.1 "$pkgdir/usr/share/man/man1/sopel.1" -} Copied: sopel/repos/community-any/PKGBUILD (from rev 952866, sopel/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-31 18:49:24 UTC (rev 952867) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=sopel +pkgver=7.1.0 +pkgrel=1 +pkgdesc="An easy-to-use and highly extensible IRC Bot framework (Formerly Willie)" +arch=('any') +license=('custom:EFL') +url='https://sopel.chat' +depends=('python-setuptools' 'sqlite' 'python-xmltodict' 'python-pytz' 'python-praw' + 'python-geoip2' 'python-requests' 'python-dnspython' 'python-sqlalchemy') +makedepends=('python-sphinx' 'python-sphinxcontrib-autoprogram') +checkdepends=('python-pytest-runner' 'python-requests-mock') +backup=('etc/sopel.cfg') +source=("https://github.com/sopel-irc/sopel/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('36465f648dcd87f128b2aa50542af1318accd51cbc069da50b96ef07621dfb9431505f4e0022a4ae9ac43c05fcdd73e7a6e05efc9515953bb1569085d335dceb') + +prepare() { + cd sopel-$pkgver + sed -i 's/<6/<8/' {dev-,}requirements.txt +} + +build() { + cd sopel-$pkgver + python setup.py build egg_info + PYTHONPATH="$PWD" make -C docs man +} + +check() { + cd sopel-$pkgver + LC_CTYPE=en_US.UTF-8 python setup.py pytest --addopts "--ignore build/" +} + +package() { + cd sopel-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 contrib/sopel.cfg "$pkgdir/etc/sopel.cfg" + install -Dm644 contrib/sopel.service "$pkgdir/usr/lib/systemd/system/sopel.service" + install -Dm644 contrib/sopel.conf "$pkgdir/usr/lib/tmpfiles.d/sopel.conf" + install -Dm644 docs/build/man/sopel.1 "$pkgdir/usr/share/man/man1/sopel.1" +}