[arch-commits] Commit in twisted/repos (8 files)
Allan McRae
allan at archlinux.org
Tue Oct 16 11:55:49 UTC 2012
Date: Tuesday, October 16, 2012 @ 07:55:48
Author: allan
Revision: 168885
db-move: moved twisted from [staging] to [testing] (i686, x86_64)
Added:
twisted/repos/testing-i686/
twisted/repos/testing-i686/PKGBUILD
(from rev 168833, twisted/repos/staging-i686/PKGBUILD)
twisted/repos/testing-i686/twisted.install
(from rev 168833, twisted/repos/staging-i686/twisted.install)
twisted/repos/testing-x86_64/
twisted/repos/testing-x86_64/PKGBUILD
(from rev 168833, twisted/repos/staging-x86_64/PKGBUILD)
twisted/repos/testing-x86_64/twisted.install
(from rev 168833, twisted/repos/staging-x86_64/twisted.install)
Deleted:
twisted/repos/staging-i686/
twisted/repos/staging-x86_64/
--------------------------------+
testing-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
testing-i686/twisted.install | 11 +++++++++++
testing-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
testing-x86_64/twisted.install | 11 +++++++++++
4 files changed, 96 insertions(+)
Copied: twisted/repos/testing-i686/PKGBUILD (from rev 168833, twisted/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-10-16 11:55:48 UTC (rev 168885)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=twisted
+pkgver=12.2.0
+pkgrel=2
+pkgdesc="Asynchronous networking framework written in Python."
+arch=('i686' 'x86_64')
+url="http://twistedmatrix.com/"
+license=('MIT')
+depends=('python2-crypto' 'python2-zope-interface')
+optdepends=('python2-pyopenssl'
+ 'python2-soappy: for twisted.web.soap'
+ 'python2-pyasn1: for using conch'
+ 'pygtk: for using manhole'
+ 'tk: for using tkconch')
+install=twisted.install
+source=(http://twistedmatrix.com/Releases/Twisted/${pkgver%.*}/Twisted-$pkgver.tar.bz2)
+sha1sums=('c51834c1270e7a4bb0de9190056e4317413920f9')
+
+build() {
+ cd "$srcdir/Twisted-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/Twisted-$pkgver"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \
+ "$pkgdir"/usr/lib/python2.7/site-packages/twisted/trial/test/scripttest.py \
+ "$pkgdir"/usr/lib/python2.7/site-packages/twisted/mail/test/pop3testserver.py \
+ "$pkgdir"/usr/lib/python2.7/site-packages/twisted/python/test/pullpipe.py
+}
Copied: twisted/repos/testing-i686/twisted.install (from rev 168833, twisted/repos/staging-i686/twisted.install)
===================================================================
--- testing-i686/twisted.install (rev 0)
+++ testing-i686/twisted.install 2012-10-16 11:55:48 UTC (rev 168885)
@@ -0,0 +1,11 @@
+post_install() {
+ python2 -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || return 1
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ find /usr/lib/python2.7/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
+}
Copied: twisted/repos/testing-x86_64/PKGBUILD (from rev 168833, twisted/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-10-16 11:55:48 UTC (rev 168885)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=twisted
+pkgver=12.2.0
+pkgrel=2
+pkgdesc="Asynchronous networking framework written in Python."
+arch=('i686' 'x86_64')
+url="http://twistedmatrix.com/"
+license=('MIT')
+depends=('python2-crypto' 'python2-zope-interface')
+optdepends=('python2-pyopenssl'
+ 'python2-soappy: for twisted.web.soap'
+ 'python2-pyasn1: for using conch'
+ 'pygtk: for using manhole'
+ 'tk: for using tkconch')
+install=twisted.install
+source=(http://twistedmatrix.com/Releases/Twisted/${pkgver%.*}/Twisted-$pkgver.tar.bz2)
+sha1sums=('c51834c1270e7a4bb0de9190056e4317413920f9')
+
+build() {
+ cd "$srcdir/Twisted-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/Twisted-$pkgver"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \
+ "$pkgdir"/usr/lib/python2.7/site-packages/twisted/trial/test/scripttest.py \
+ "$pkgdir"/usr/lib/python2.7/site-packages/twisted/mail/test/pop3testserver.py \
+ "$pkgdir"/usr/lib/python2.7/site-packages/twisted/python/test/pullpipe.py
+}
Copied: twisted/repos/testing-x86_64/twisted.install (from rev 168833, twisted/repos/staging-x86_64/twisted.install)
===================================================================
--- testing-x86_64/twisted.install (rev 0)
+++ testing-x86_64/twisted.install 2012-10-16 11:55:48 UTC (rev 168885)
@@ -0,0 +1,11 @@
+post_install() {
+ python2 -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || return 1
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ find /usr/lib/python2.7/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
+}
More information about the arch-commits
mailing list