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

Kyle Keen kkeen at archlinux.org
Thu Oct 24 12:49:55 UTC 2019


    Date: Thursday, October 24, 2019 @ 12:49:55
  Author: kkeen
Revision: 518802

archrelease: copy trunk to community-any

Added:
  python-irc/repos/community-any/PKGBUILD
    (from rev 518801, python-irc/trunk/PKGBUILD)
Deleted:
  python-irc/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   89 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 41 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-24 12:49:20 UTC (rev 518801)
+++ PKGBUILD	2019-10-24 12:49:55 UTC (rev 518802)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
-# Contributor: Pierre Chapuis <catwell at archlinux.us>
-# Contributor: Stefano Esposito <ragnarok at email.it>
-
-pkgbase=python-irc
-pkgname=('python-irc' 'python2-irc')
-pkgver=16.4
-pkgrel=1
-pkgdesc="IRC (Internet Relay Chat) protocol client library for Python"
-depends=('python-six' 'python-pytz' 'python-more-itertools' 'python-jaraco' 'python-tempora')
-makedepends=('python-setuptools' 'python2-setuptools'
-    'python2-jaraco' 'python2-more-itertools' 'python2-pytz' 'python2-tempora')
-checkdepends=('python-pytest' 'python2-pytest')
-arch=('any')
-url="http://pypi.python.org/pypi/irc"
-license=('LGPL')
-source=("https://files.pythonhosted.org/packages/source/i/irc/irc-$pkgver.tar.gz")
-md5sums=('b201b4f58cc1e2a59cb675a59a0b7b37')
-
-build() {
-  cd "$srcdir"
-  cp -a "irc-$pkgver" "irc2-$pkgver"
-}
-
-package_python-irc() {
-  cd "$srcdir/irc-$pkgver"
-  export LC_ALL=en_US.UTF-8
-  python3 setup.py install --root="$pkgdir" --optimize=0
-}
-
-package_python2-irc() {
-  depends=('python2-six' 'python2-pytz' 'python2-more-itertools' 'python2-jaraco' 'python2-tempora')
-
-  cd "$srcdir/irc2-$pkgver"
-  python2 setup.py install --root="$pkgdir" --optimize=0
-}
-
-check() {
-  return  # dude broke pytest?
-  cd "$srcdir/irc-$pkgver"
-  export LC_ALL=en_US.UTF-8
-  python3 setup.py test 
-
-  cd "$srcdir/irc2-$pkgver"
-  python2 setup.py test 
-}

Copied: python-irc/repos/community-any/PKGBUILD (from rev 518801, python-irc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-24 12:49:55 UTC (rev 518802)
@@ -0,0 +1,41 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Pierre Chapuis <catwell at archlinux.us>
+# Contributor: Stefano Esposito <ragnarok at email.it>
+
+pkgname=python-irc
+pkgver=17.1
+pkgrel=1
+pkgdesc="IRC (Internet Relay Chat) protocol client library for Python"
+depends=('python-six' 'python-pytz' 'python-more-itertools' 'python-jaraco' 'python-tempora')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest')
+arch=('any')
+url="https://pypi.python.org/pypi/irc"
+license=('LGPL')
+source=("https://files.pythonhosted.org/packages/source/i/irc/irc-$pkgver.tar.gz")
+md5sums=('49e9851caa35fbc82953519ee6c1626e')
+
+prepare() {
+  cd "$srcdir"
+  cp -a "irc-$pkgver" "irc2-$pkgver"
+}
+
+build() {
+  cd "$srcdir/irc-$pkgver"
+  export LC_ALL=en_US.UTF-8
+  python3 setup.py build
+}
+
+check() {
+  return  # dude broke pytest?
+  cd "$srcdir/irc-$pkgver"
+  export LC_ALL=en_US.UTF-8
+  python3 setup.py test
+}
+
+package() {
+  cd "$srcdir/irc-$pkgver"
+  export LC_ALL=en_US.UTF-8
+  python3 setup.py install --root="$pkgdir" --optimize=0
+}



More information about the arch-commits mailing list