summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9657c246def613dbdc8ad7adbe0f4f761a7fa0c0 (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
# Maintainer: Aniket-Pradhan aniket17133@iiitd.ac.in
# Owner: Userspace Containerization team at Red Hat user-cont-team@redhat.com

_pkgname=release-bot
pkgname=release-bot-git
pkgver=0.7.1
pkgrel=1
pkgdesc="Release to Github and PyPI with an ease."
url="https://github.com/user-cont/release-bot"
license=("GPL3")
depends=('python' 'python-yaml' 'python-requests' 'python-semver' 'twine' 'python-wheel' 'python-pyjwt' 'python-flask' 'python-gitchangelog' 'python-pystache' )
makedepends=('python-setuptools')
arch=("x86_64")
source=("git+https://github.com/user-cont/${_pkgname}#branch=master")

build() {
	cd ${srcdir}/${_pkgname}
	python setup.py build
}

package() {
	cd ${srcdir}/${_pkgname}
	python setup.py install --root="$pkgdir/" --optimize=1 --skip-build

	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}

md5sums=('SKIP')