summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 74acff575632d0deb315c399e3bba6e7de8b325f (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
# Maintainer: Jameson Pugh <imntreal@gmail.com>

pkgname=python-fedmsg
pkgver=1.1.2
pkgrel=1
pkgdesc='Utilities used around Fedora Infrastructure to send and receive messages'
arch=(any)
url='https://fedmsg.readthedocs.org/'
license=(LGPLv2)
depends=('python-kitchen' 'python-pygments' 'python-pyzmq' 'python-arrow')
makedeps=('python-setuptools' 'python2-setuptools')
source=("https://pypi.python.org/packages/0e/59/3a085f378b6200a6b9eb6d8f42654fb35ac181e095221796d5248372eb2f/fedmsg-0.18.2.tar.gz")
source=("https://github.com/fedora-infra/fedmsg/archive/${pkgver}.tar.gz")
sha256sums=('284cfb08dfa1fff7e96d4debf0d43a66e90f92390979dafab7e9c00e838b5ff1')

package() {
  cd "fedmsg-${pkgver}"
  python setup.py install --root="${pkgdir}" --optimize=1
  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
}

# vim:set ts=2 sw=2 et: