[arch-commits] Commit in sopel/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Tue Jan 19 02:39:03 UTC 2016
Date: Tuesday, January 19, 2016 @ 03:39:03
Author: fyan
Revision: 157579
upgpkg: sopel 6.2.1-1
Modified:
sopel/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-19 02:24:53 UTC (rev 157578)
+++ PKGBUILD 2016-01-19 02:39:03 UTC (rev 157579)
@@ -2,30 +2,22 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=sopel
-pkgver=6.1.1
+pkgver=6.2.1
pkgrel=1
pkgdesc="An easy-to-use and highly extensible IRC Bot framework (Formerly Willie)"
arch=('any')
license=('custom:EFL')
url='http://sopel.chat'
-depends=('python-setuptools' 'sqlite')
-optdepends=('python-feedparser: nws and rss modules'
- 'python-pytz: remind module'
- 'python-lxml: xkcd module'
- 'python-pyenchant: spellcheck module'
- 'python-praw: reddit module'
- 'python-pygeoip: geoip module'
- 'python-xmltodict: bugzilla, currency, weather modules')
+depends=('python-setuptools' 'sqlite' 'python-xmltodict' 'python-pytz' 'python-praw'
+ 'python-pyenchant' 'python-pygeoip')
makedepends=('git' 'python-sphinx')
-checkdepends=('python-pytest' 'python-feedparser' 'python-pytz' 'python-lxml'
- 'python-pyenchant' 'python-praw' 'python-pygeoip' 'ipython'
- 'python-xmltodict')
+checkdepends=('python-pytest-runner' 'ipython')
backup=('etc/sopel.cfg')
source=("git+https://github.com/sopel-irc/sopel.git#tag=$pkgver")
md5sums=('SKIP')
prepare() {
- sed -e 's|willie|sopel|g' -e 's|Willie|Sopel|g' -i sopel/contrib/willie{.cfg,.service,.conf}
+ sed -e 's|willie|sopel|g' -e 's|Willie|Sopel|g' -i sopel/contrib/willie{.cfg,.conf}
}
build() {
@@ -36,7 +28,9 @@
check() {
cd "$srcdir/sopel"
- py.test --ignore build || warning "Tests failed"
+ mv build ../
+ python setup.py ptr || warning "Tests failed"
+ mv ../build ./
}
package() {
@@ -45,7 +39,7 @@
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 contrib/willie.cfg "$pkgdir/etc/sopel.cfg"
- install -Dm644 contrib/willie.service "$pkgdir/usr/lib/systemd/system/sopel.service"
+ install -Dm644 contrib/sopel.service "$pkgdir/usr/lib/systemd/system/sopel.service"
install -Dm644 contrib/willie.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