mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:47:21 +08:00
30 lines
960 B
Bash
30 lines
960 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=twisted
|
|
pkgver=10.0.0
|
|
pkgrel=1
|
|
pkgdesc="Asynchronous networking framework written in Python."
|
|
arch=('i686' 'x86_64')
|
|
url="http://twistedmatrix.com/"
|
|
license=('MIT')
|
|
depends=('python' 'pycrypto' 'zope-interface')
|
|
optdepends=('pyopenssl'
|
|
'python-soappy:for twisted.web.soap')
|
|
install=twisted.install
|
|
source=(http://tmrc.mit.edu/mirror/twisted/Twisted/${pkgver%.*}/Twisted-${pkgver}.tar.bz2)
|
|
md5sums=('3b226af1a19b25e3b3e93cc6edf5e284')
|
|
|
|
build() {
|
|
cd "${srcdir}/Twisted-${pkgver}"
|
|
|
|
python setup.py install --prefix=/usr --root=$pkgdir --optimize=1 || return 1
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" || return 1
|
|
}
|