[arch-commits] Commit in sopel/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Aug 26 07:10:00 UTC 2019


    Date: Monday, August 26, 2019 @ 07:09:59
  Author: felixonmars
Revision: 501824

archrelease: copy trunk to community-any

Added:
  sopel/repos/community-any/PKGBUILD
    (from rev 501823, sopel/trunk/PKGBUILD)
Deleted:
  sopel/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   86 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 45 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-26 07:09:48 UTC (rev 501823)
+++ PKGBUILD	2019-08-26 07:09:59 UTC (rev 501824)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=sopel
-pkgver=6.5.3
-pkgrel=2
-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-pyenchant' 'python-pygeoip')
-makedepends=('python-sphinx')
-checkdepends=('python-pytest-runner' 'ipython')
-backup=('etc/sopel.cfg')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/sopel-irc/sopel/archive/v$pkgver.tar.gz")
-sha512sums=('6f8f3003c87f8092a7a05320197237033f8d650402155f1f71482078e2bb851aa5f1942d2ccf378d3446011326f174087f478754e212b40e2216e2ad46a82812')
-
-export LC_CTYPE=en_US.UTF-8
-
-build() {
-  cd sopel-$pkgver
-  python setup.py build
-  make -C docs man
-}
-
-check() {
-  cd sopel-$pkgver
-  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 501823, sopel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-26 07:09:59 UTC (rev 501824)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=sopel
+pkgver=6.6.9
+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=('ipython' 'python-setuptools' 'sqlite' 'python-xmltodict' 'python-pytz' 'python-praw'
+         'python-geoip2' 'python-pyenchant' 'python-requests' 'python-dnspython' 'python-sqlalchemy')
+makedepends=('python-sphinx')
+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=('d1c91bc972742136cb786cad1cac09b485c6efd5ba11686002005a6f212ba326e2338c085cf6dffe5c23a04a1b414ab82933ef671bb9153c13875041a1ecd771')
+
+export LC_CTYPE=en_US.UTF-8
+
+prepare() {
+  cd sopel-$pkgver
+  sed -i 's/<6/<7/' requirements.txt
+}
+
+build() {
+  cd sopel-$pkgver
+  python setup.py build
+  make -C docs man
+}
+
+check() {
+  cd sopel-$pkgver
+  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