diff --git a/fedmsg/PKGBUILD b/fedmsg/PKGBUILD index ffdbb4b0e..06129c40d 100644 --- a/fedmsg/PKGBUILD +++ b/fedmsg/PKGBUILD @@ -1,22 +1,23 @@ -pkgname='fedmsg' -pkgver=0.18.3 +pkgname=fedmsg +pkgver=1.1.1 pkgrel=1 -pkgdesc='The Federated Message Bus' +pkgdesc='Federated Messaging with ZeroMQ' arch=('any') license=('LGPL') +depends=('python3' 'python3-kitchen' 'python3-pygments' 'python3-pyzmq' 'python3-arrow') makedepends=('python3-setuptools') -depends=('python3') -url='https://www.fedmsg.org' -source=("https://github.com/fedora-infra/${pkgname}/archive/${pkgver}.tar.gz" - "fedmsg-config.py") -sha256sums=('5fc316a29654e0d2cdf26bf22a21fcc48a036de25bbe66fd6a0a0edfa0245b6b' - 'SKIP') +url='https://fedmsg.readthedocs.io/' +source=("https://github.com/fedora-infra/${pkgname}/archive/${pkgver}.tar.gz") +sha256sums=('bdccd7206d0670f452cc502072afc89359664fdc5f9d49380cf6c99d9d84a8c2') package() { - depends+=('python3') cd "${srcdir}/${pkgname}-${pkgver}" python3 setup.py install --root="${pkgdir}" - install -Dm644 ../../fedmsg-config.py "${pkgdir}/etc/fedmsg.d/fedmsg-config.py" + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -Ddm755 ${pkgname}/etc/fedmsg.d + for file in {base.py,endpoints.py,gateway.py,ircbot.py,logging.py,relay.py,ssl.py}; do + install -D -m644 fedmsg.d/${file} ${pkgdir}/etc/fedmsg.d/${file} + done }