blob: 3ba5d834e7315b0f4057d3a96ce467aa1e01d259 (
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: SZanko <szanko at protonmail dot com>
pkgname=python-dictdiffer
pkgver=0.9.0
pkgrel=1
pkgdesc="Dictdiffer is a library that helps you to diff and patch dictionaries"
url="https://github.com/inveniosoftware/dictdiffer"
license=('MIT')
_name=${pkgname#python-}
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
arch=('any')
makedepends=(
'python-setuptools'
'python-pip'
'binutils'
)
depends=('python')
md5sums=('524b353b969300d4dc6aa6720c953657')
build() {
cd "$srcdir/$_name-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/$_name-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|