[arch-commits] Commit in twisted/repos (3 files)

Giovanni Scafora giovanni at archlinux.org
Thu Jan 21 06:18:15 EST 2010


    Date: Thursday, January 21, 2010 @ 06:18:15
  Author: giovanni
Revision: 64608

Merged revisions 64606 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/twisted/trunk

........
  r64606 | giovanni | 2010-01-21 12:15:53 +0100 (gio, 21 gen 2010) | 2 lines
  
  upgpkg: twisted 9.0.0-2
      Fixed FS17939
........

Added:
  twisted/repos/extra-x86_64/twisted.install
    (from rev 64606, twisted/trunk/twisted.install)
Modified:
  twisted/repos/extra-x86_64/	(properties)
  twisted/repos/extra-x86_64/PKGBUILD

-----------------+
 PKGBUILD        |    4 +++-
 twisted.install |   11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)


Property changes on: twisted/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /twisted/trunk:1-61097
   + /twisted/trunk:1-64607

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2010-01-21 11:16:34 UTC (rev 64607)
+++ extra-x86_64/PKGBUILD	2010-01-21 11:18:15 UTC (rev 64608)
@@ -4,18 +4,20 @@
 
 pkgname=twisted
 pkgver=9.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Asynchronous networking framework written in Python."
 arch=('i686' 'x86_64')
 url="http://twistedmatrix.com/"
 license=('MIT')
 depends=('python' 'pycrypto' 'zope-interface')
 optdepends=('pyopenssl')
+install=twisted.install
 source=(http://tmrc.mit.edu/mirror/twisted/Twisted/${pkgver%.*}/Twisted-${pkgver}.tar.bz2)
 md5sums=('93fc2756a09ffd1350c046cc940e4311')
 
 build() {
   cd "${srcdir}/Twisted-${pkgver}"
+
   python setup.py install --prefix=/usr --root=$pkgdir || return 1
   install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" || return 1
 }

Copied: twisted/repos/extra-x86_64/twisted.install (from rev 64606, twisted/trunk/twisted.install)
===================================================================
--- extra-x86_64/twisted.install	                        (rev 0)
+++ extra-x86_64/twisted.install	2010-01-21 11:18:15 UTC (rev 64608)
@@ -0,0 +1,11 @@
+post_install() {
+  python -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.6/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
+}



More information about the arch-commits mailing list