[arch-commits] Commit in python-pexpect/repos (2 files)
Felix Yan
fyan at nymeria.archlinux.org
Tue Mar 18 16:25:03 UTC 2014
Date: Tuesday, March 18, 2014 @ 17:25:03
Author: fyan
Revision: 107693
archrelease: copy trunk to community-staging-any
Added:
python-pexpect/repos/community-staging-any/
python-pexpect/repos/community-staging-any/PKGBUILD
(from rev 107692, python-pexpect/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-pexpect/repos/community-staging-any/PKGBUILD (from rev 107692, python-pexpect/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2014-03-18 16:25:03 UTC (rev 107693)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Aaron Schaefer <aaron at elasticdog.com>
+
+pkgname=('python-pexpect' 'python2-pexpect')
+pkgver=3.1
+pkgrel=2
+pkgdesc='Make Python a better tool for controlling and automating other programs'
+arch=('any')
+url='http://pexpect.readthedocs.org/en/latest/'
+license=('MIT')
+makedepends=('python' 'python2')
+conflicts=('python-pexpect<=2.4')
+replaces=('python-pexpect<=2.4')
+source=("http://pypi.python.org/packages/source/p/pexpect/pexpect-$pkgver.tar.gz")
+sha256sums=('bd0045066718fba98481032303f07565cca6b22b3b7f104efe3e077a55e9ee8d')
+
+prepare() {
+ cp -r "pexpect-$pkgver" "python2-pexpect-$pkgver"
+ sed -i 's:env python:env python2:' "python2-pexpect-$pkgver/pexpect/FSM.py"
+}
+
+package_python-pexpect() {
+ depends+=('python')
+ cd "pexpect-$pkgver"
+ python setup.py install --root="$pkgdir"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+
+package_python2-pexpect() {
+ depends+=('python2')
+ cd "python2-pexpect-$pkgver"
+ python2 setup.py install --root="$pkgdir"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list