[arch-commits] Commit in sopel/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jul 27 13:18:04 UTC 2020
Date: Monday, July 27, 2020 @ 13:18:04
Author: felixonmars
Revision: 665456
archrelease: copy trunk to community-any
Added:
sopel/repos/community-any/PKGBUILD
(from rev 665455, sopel/trunk/PKGBUILD)
Deleted:
sopel/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-27 13:17:49 UTC (rev 665455)
+++ PKGBUILD 2020-07-27 13:18:04 UTC (rev 665456)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=sopel
-pkgver=7.0.4
-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=("$pkgname-$pkgver.tar.gz::https://github.com/sopel-irc/sopel/archive/v$pkgver.tar.gz")
-sha512sums=('1674d2f9f5040d0697e10f9961a8d83c87429b6fc1b93c53157d60addd0b5476ac3aac2fa33d123089710e07f332acfec402b0d7da0e2cb1849b9d47843d62da')
-
-prepare() {
- cd sopel-$pkgver
- sed -i 's/<3/<4/;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 665455, sopel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-27 13:18:04 UTC (rev 665456)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=sopel
+pkgver=7.0.5
+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=("$pkgname-$pkgver.tar.gz::https://github.com/sopel-irc/sopel/archive/v$pkgver.tar.gz")
+sha512sums=('dda9e7c174c1945e53178c762259237133ec0a07cd0506c83d943f764cd08234e904f74bcd5c65fd7054cc64e4e40166ed72bc88ac52c1db260faaaf65d9ad16')
+
+prepare() {
+ cd sopel-$pkgver
+ sed -i 's/<3/<4/;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"
+}
More information about the arch-commits
mailing list