summaryrefslogtreecommitdiffstats
path: root/extra/twisted/Pkgfile
diff options
context:
space:
mode:
authororchidman <lesibel@free.fr>2012-01-07 15:47:19 +0100
committerorchidman <lesibel@free.fr>2012-01-07 15:47:19 +0100
commit8645bfd14641925a39c278ecddc21cc08aac08bc (patch)
tree1855e14fd86ad19f1dcd02f91555ec47fcc14264 /extra/twisted/Pkgfile
parent573fba89bf3083bc41a7ceaa4c03a0b5e128b1cf (diff)
downloadnutyx-pakxe-8645bfd14641925a39c278ecddc21cc08aac08bc.tar.gz
nutyx-pakxe-8645bfd14641925a39c278ecddc21cc08aac08bc.tar.bz2
nutyx-pakxe-8645bfd14641925a39c278ecddc21cc08aac08bc.tar.xz
nutyx-pakxe-8645bfd14641925a39c278ecddc21cc08aac08bc.zip
twisted 11.1.0-1 ajout port
Diffstat (limited to 'extra/twisted/Pkgfile')
-rwxr-xr-xextra/twisted/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/twisted/Pkgfile b/extra/twisted/Pkgfile
new file mode 100755
index 000000000..9bee7fb56
--- /dev/null
+++ b/extra/twisted/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Cadre de réseaux asynchrones écrit en Python
+# URL: http://twistedmatrix.com/
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+# Depends on: pycrypto,zope-interface
+# Run on: pycrypto,zope-interface
+
+name=twisted
+version=11.1.0
+release=1
+source=( http://twistedmatrix.com/Releases/Twisted/${version%.*}/Twisted-$version.tar.bz2)
+
+build() {
+ cd $SRC/Twisted-*
+ python2 setup.py build
+ python2 setup.py install --prefix=/usr --root=$PKG --optimize=1
+ install -D -m644 LICENSE $PKG/usr/share/licenses/$name/LICENSE
+ sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ -i $PKG/usr/lib/python2.7/site-packages/twisted/trial/test/scripttest.py
+ sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ -i $PKG/usr/lib/python2.7/site-packages/twisted/mail/test/pop3testserver.py
+}