aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-irc
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-03-03 17:19:38 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-03-04 09:50:17 +0000
commit99bd476025b9a96dac9d3c0edd7ae19db488cec2 (patch)
tree2e4e95cd12d04c385e9e9078b57c4547e3021109 /main/py-irc
parenta09067cd6926cf9e280e1d632ded62c74b5ab256 (diff)
downloadaports-99bd476025b9a96dac9d3c0edd7ae19db488cec2.tar.bz2
aports-99bd476025b9a96dac9d3c0edd7ae19db488cec2.tar.xz
main/py-irc: upgrade to 8.0.1
Diffstat (limited to 'main/py-irc')
-rw-r--r--main/py-irc/APKBUILD28
1 files changed, 20 insertions, 8 deletions
diff --git a/main/py-irc/APKBUILD b/main/py-irc/APKBUILD
index d94a16b33a..ff68a96846 100644
--- a/main/py-irc/APKBUILD
+++ b/main/py-irc/APKBUILD
@@ -1,20 +1,21 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-irc
-pkgver=3.0.1
+_pkgname=irc
+pkgver=8.0.1
pkgrel=0
-pkgdesc="python irc client library"
+pkgdesc="A python irc client library"
url="http://python-irclib.sourceforge.net/"
arch="noarch"
-license="LGPL"
+license="LGPL2+"
depends=""
depends_dev="python"
-makedepends="$depends_dev py-hgtools"
+makedepends="$depends_dev py-hgtools py-setuptools"
install=""
-subpackages=""
-source="http://pypi.python.org/packages/source/i/irc/irc-${pkgver}.zip"
+subpackages="$pkgname-scripts"
+source="http://pypi.python.org/packages/source/i/irc/$_pkgname-${pkgver}.zip"
-_builddir="$srcdir"/irc-$pkgver
+_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
@@ -35,4 +36,15 @@ package() {
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="d69203c3d92867a99d669339f0ec87cb irc-3.0.1.zip"
+scripts() {
+ _files="dccreceive.py dccsend.py irccat.py irccat2.py \
+ servermap.py testbot.py"
+ for _file in $_files; do
+ install -Dm644 "$_builddir"/scripts/$_file \
+ "$subpkgdir"/usr/share/doc/"$pkgname"/scripts/$_file || return 1
+ done
+}
+
+md5sums="0d4073d11845cac2d9eef60505f3c5fc irc-8.0.1.zip"
+sha256sums="d7b0703f8fd94d67eac8136e4f8d8a4975b24f492766ba4372256932f44caf19 irc-8.0.1.zip"
+sha512sums="6df02af77f0f7580f7ca1af273a46fe546c5c0aa55b75e2a689994f4547e6eed54c121e7d38b301f7874c98affe13a32bd5ff27401b9de90b02291a4e703c85c irc-8.0.1.zip"