[arch-commits] Commit in sopel/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Tue Aug 11 07:13:24 UTC 2015
Date: Tuesday, August 11, 2015 @ 09:13:24
Author: fyan
Revision: 138210
archrelease: copy trunk to community-any
Added:
sopel/repos/community-any/PKGBUILD
(from rev 138209, sopel/trunk/PKGBUILD)
Deleted:
sopel/repos/community-any/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++++++++++-----------------------
1 file changed, 45 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-11 07:13:01 UTC (rev 138209)
+++ PKGBUILD 2015-08-11 07:13:24 UTC (rev 138210)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=sopel
-pkgver=5.5.0
-pkgrel=1
-pkgdesc="An easy-to-use and highly extensible IRC Bot framework (Formerly Willie)"
-arch=('any')
-license=('GPL')
-url='http://sopel.chat'
-depends=('python-feedparser' 'python-pytz' 'python-lxml' 'python-praw' 'python-pyenchant'
- 'python-pygeoip' 'python-setuptools' 'sqlite')
-makedepends=('git')
-checkdepends=('python-pytest-runner')
-source=("git+https://github.com/sopel-irc/sopel.git#tag=$pkgver")
-md5sums=('SKIP')
-
-check() {
- cd "$srcdir/sopel"
- python setup.py ptr || warning "Tests failed"
-}
-
-package() {
- cd "$srcdir/sopel"
- python setup.py install --root="${pkgdir}" --optimize=1
-}
Copied: sopel/repos/community-any/PKGBUILD (from rev 138209, sopel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-08-11 07:13:24 UTC (rev 138210)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=sopel
+pkgver=5.5.0
+pkgrel=2
+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: spellchek module'
+ 'python-praw: reddit module'
+ 'python-pygeoip: geoip module')
+makedepends=('git' 'python-sphinx')
+checkdepends=('python-pytest' 'python-feedparser' 'python-pytz' 'python-lxml'
+ 'python-pyenchant' 'python-praw' 'python-pygeoip')
+backup=('etc/willie.cfg')
+source=("git+https://github.com/sopel-irc/sopel.git#tag=$pkgver")
+md5sums=('SKIP')
+
+build() {
+ cd "$srcdir/sopel"
+ python setup.py build
+ make -C docs man
+}
+
+check() {
+ cd "$srcdir/sopel"
+ py.test --ignore build || warning "Tests failed"
+}
+
+package() {
+ cd "$srcdir/sopel"
+ python setup.py install --root="${pkgdir}" --optimize=1
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 contrib/willie.cfg "$pkgdir/etc/willie.cfg"
+ install -Dm644 contrib/willie.service "$pkgdir/usr/lib/systemd/system/willie.service"
+ install -Dm644 contrib/willie.conf "$pkgdir/usr/lib/tmpfiles.d/willie.conf"
+ install -Dm644 docs/build/man/willie.1 "$pkgdir/usr/share/man/man1/willie.1"
+}
More information about the arch-commits
mailing list