summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1feb032e0435adb19c6f3b82ab436149404f87a4 (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
29
30
# Maintainer: Christian Hesse <mail@eworm.de>

pkgbase=python-meh
pkgname=(python-meh python2-meh)
pkgver=0.52
pkgrel=1
pkgdesc='Python module for handling exceptions'
arch=('i686' 'x86_64')
url='https://github.com/rhinstaller/python-meh/'
license=('GPL')
makedepends=('python-setuptools' 'python2-setuptools')
source=("https://github.com/rhinstaller/${pkgbase}/archive/${pkgbase}-${pkgver}.tar.gz")
sha256sums=('7b66046b4693e7631aad299e5a55d0255962608cd03372f559745c575aa8c920')

package_python-meh() {
	pkgdesc='Python module for handling exceptions - python 3.x pkg'
	depends=('python' 'python-dbus' 'libreport')

	cd "${srcdir}/${pkgbase}-${pkgbase}-${pkgver}"
	python3 setup.py install --root="${pkgdir}/" --optimize=0
}

package_python2-meh() {
	pkgdesc='Python module for handling exceptions - python 2.x pkg'
	depends=('python2' 'python2-dbus' 'libreport')

	cd "${srcdir}/${pkgbase}-${pkgbase}-${pkgver}"
	python2 setup.py install --root="${pkgdir}/" --optimize=0
}