summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b7f6031b9b073a6fec9f6731799d12dbea1edd4 (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
31
# Maintainer:  <_@_._>

pkgname=python-pyemf3
_pkgname=pyemf3
pkgver=3.3
pkgrel=1
pkgdesc="Pure Python Enhanced Metafile Library"
arch=('any')
license=('LGPL2.1')
url="https://github.com/jeremysanders/pyemf3"
depends=('python')
makedepends=('python-setuptools')
#checkdepends=('python-pytest' 'python-freezegun' 'python-hypothesis')
source=("$pkgname-$pkgver.tar.gz::https://github.com/jeremysanders/$_pkgname/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('59dde1609ac1bb586c6fccaf47183ba8cb46d9d7570d51f1cba19aada82a0cf4')

build() {
  cd "$_pkgname-$pkgver"
  python setup.py build
}

#check() {
#  cd dateutil
#  pytest -W ignore::pytest.PytestUnknownMarkWarning # https://github.com/pytest-dev/pytest/issues/5678
#}

package() {
  cd "$_pkgname-$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}