archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pysmbc / trunk / PKGBUILD
blob68e522d85414e204094eb30138dc19f1187c4875
1 # Maintainer:
3 pkgbase=pysmbc
4 pkgname=('python-pysmbc')
5 pkgver=1.0.23
6 pkgrel=3
7 arch=('x86_64')
8 url="http://pypi.python.org/pypi/pysmbc/"
9 license=('GPL')
10 makedepends=('python' 'smbclient' 'python-setuptools')
11 # validpgpkeys=('228521116D3438163C2EA5B916BED1016069BE55')  # Tsukasa Hamano, revoked
12 source=(https://pypi.io/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz)
13 sha512sums=('cfc990440d219ec0b56e158f3fec47e90f7a618cc6f26ab4ae35679fc0803fb8e171e6b1856586f7a33593bb6f58640283118fc34089412a3af1b6a10fa1f5a6')
15 build(){
16   cd ${pkgbase}-${pkgver}
17   python setup.py build
20 check() {
21   cd ${pkgbase}-${pkgver}
22   # requires a samba test server
25 package_python-pysmbc() {
26   pkgdesc="Python 3 bindings for libsmbclient"
27   depends=('python' 'smbclient')
29   cd ${pkgbase}-${pkgver}
30   python setup.py install --root="$pkgdir" --optimize=1