blob: fe3eaaffaa9db8d497b895658ff398eeb8cfa2b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# 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"
|