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

Felix Yan fyan at archlinux.org
Mon Nov 16 03:49:38 UTC 2015


    Date: Monday, November 16, 2015 @ 04:49:38
  Author: fyan
Revision: 146904

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  100 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 51 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-16 03:49:22 UTC (rev 146903)
+++ PKGBUILD	2015-11-16 03:49:38 UTC (rev 146904)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=sopel
-pkgver=6.0.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' '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}
-}
-
-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/sopel.cfg"
-  install -Dm644 contrib/willie.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"
-}

Copied: sopel/repos/community-any/PKGBUILD (from rev 146903, sopel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-11-16 03:49:38 UTC (rev 146904)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=sopel
+pkgver=6.1.0
+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')
+makedepends=('git' 'python-sphinx')
+checkdepends=('python-pytest' 'python-feedparser' 'python-pytz' 'python-lxml'
+              'python-pyenchant' 'python-praw' 'python-pygeoip' 'ipython'
+              'python-xmltodict')
+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}
+}
+
+build() {
+  cd "$srcdir/sopel"
+  python setup.py build
+  make -C docs man
+}
+
+check() {
+  cd "$srcdir/sopel"
+  py.test 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/sopel.cfg"
+  install -Dm644 contrib/willie.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