aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py-fedmsg/APKBUILD
blob: fe3eaaffaa9db8d497b895658ff398eeb8cfa2b2 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                           
            



                                                                                  
                  
                 
                           


                                       
                                                                                                          
                                    
 


                              

 


                              


           

                                                               


                                                                            
                                                                                                                                                                  
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-fedmsg
_pkgname=fedmsg
pkgver=1.1.1
pkgrel=0
pkgdesc="Utilities used around Fedora Infrastructure to send and receive messages"
url="https://fedmsg.readthedocs.org/"
arch="noarch"
license="LGPL-2.0"
depends="python2"
depends_dev="py-setuptools"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python2 setup.py build
}

check() {
	cd "$builddir"
	python2 setup.py check
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
	install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="fcc3a0a6ef239ee6ef76f12a2d9e15ec61bce0e09ac11473cded79c176423199b88c78bbf9b634de18c648016019fe7523d2630d63312967c5276344a9ce2c41  fedmsg-1.1.1.tar.gz"