aboutsummaryrefslogblamecommitdiffstats
path: root/main/py-zope-interface/APKBUILD
blob: 469fb65e53951ab02d12a479dbbbb31cba10d314 (plain) (tree)
1
2
3
4
5
6
7
8
                                                   
                         
            
        

                                                                             
          
             



                                      

                                                                                              


                                          

                                         



                       
                                                                          
                                                                             
 

                                                                       
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-zope-interface
pkgver=3.7.0
pkgrel=1
pkgdesc="Separate distribution of the zope.interface package used in Zope 3."
url="http://www.zope.org/Products/ZopeInterface/"
arch="all"
license="ZPL"
depends=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/z/zope.interface/zope.interface-$pkgver.tar.gz"

_builddir="$srcdir"/zope.interface-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
	python setup.py test || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
	rm "$pkgdir"/usr/lib/python*/site-packages/zope/interface/README*.txt
}

md5sums="8f3e942e9556ed27ac1a71ee85bf697f  zope.interface-3.7.0.tar.gz"