mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
24 lines
812 B
Bash
24 lines
812 B
Bash
pkgname=fedmsg
|
|
pkgver=1.1.1
|
|
pkgrel=1
|
|
pkgdesc='Federated Messaging with ZeroMQ'
|
|
arch=('any')
|
|
license=('LGPL')
|
|
depends=('python3' 'python3-kitchen' 'python3-pygments' 'python3-pyzmq' 'python3-arrow')
|
|
makedepends=('python3-setuptools')
|
|
url='https://fedmsg.readthedocs.io/'
|
|
source=("https://github.com/fedora-infra/${pkgname}/archive/${pkgver}.tar.gz")
|
|
sha256sums=('bdccd7206d0670f452cc502072afc89359664fdc5f9d49380cf6c99d9d84a8c2')
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
python3 setup.py install --root="${pkgdir}"
|
|
|
|
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
|
|
}
|
|
|