mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 14:42:01 +01:00
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# 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"
|