archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / python-volatile / trunk / PKGBUILD
blobdd5c6651351b3a0b876c88dc0da5ea5dcc59bf06
1 # Maintainer:
3 _pkgname=volatile
4 pkgname=python-volatile
5 pkgver=2.1.0
6 pkgrel=4
7 pkgdesc="A small extension for the tempfile module"
8 arch=('any')
9 url="https://github.com/mbr/volatile"
10 license=('MIT')
11 depends=('python')
12 makedepends=('python-setuptools')
13 source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
14 sha256sums=('9be36ad508e3354e016c115de0397dc2203b9800a73d9d177ca9d37a8d3a31d3')
15 b2sums=('b68e31de831cfdf1aad2ec0d65023c58ed8730e6e8e720bb074b0201f1f7e438d82d4acf1d74227b493c1f05b22ce3981197a2f798e5ff7fe7d1f4e6c08ee60f')
17 build(){
18     cd $_pkgname-$pkgver
20     python setup.py build
23 package() {
24     cd $_pkgname-$pkgver
26     python setup.py install --root="${pkgdir}" --optimize=1 --skip-build