mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
08a66c4024
new pkg added to fullfill checkdepends new order file python3.order
24 lines
639 B
Bash
24 lines
639 B
Bash
|
|
pkgname=python2-trollius
|
|
_realname=trollius
|
|
pkgver=2.0
|
|
pkgrel=1
|
|
pkgdesc="Port of the Tulip project (asyncio module, PEP 3156) on Python 2.7"
|
|
arch=("any")
|
|
url="http://trollius.readthedocs.org/"
|
|
license=('APACHE')
|
|
depends=('python2' 'python2-futures')
|
|
optdepends=('python2-unittest2: to pass trollius unit tests')
|
|
source=("http://pypi.python.org/packages/source/t/$_realname/$_realname-$pkgver.tar.gz")
|
|
md5sums=('5704231bc385660783c5fad59e75549d')
|
|
|
|
build() {
|
|
cd "$srcdir/$_realname-$pkgver"
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$_realname-$pkgver"
|
|
python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
|
|
}
|