blob: 3bbcf9dbcac37a327b2f2e6549217e2a1b8aa2c6 (
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: a821 <a821 (nospam) mail de>
pkgname=python-session-info
_name=session_info
pkgver=1.0.0
pkgrel=3
pkgdesc="Print version information for loaded modules in the current session, python, and OS"
url="https://gitlab.com/joelostblom/session_info"
arch=('any')
license=('BSD-3-Clause')
depends=('python-stdlib-list') # AUR
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools')
source=("git+${url}.git#tag=$pkgver")
sha256sums=('6eea5b8c9ba01d0a978fd6236ae5b03ea04be957ff40e8eb5da164213121a224')
build() {
cd $_name
python -m build --wheel --no-isolation
}
package() {
cd $_name
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
}
# vim: set ts=4 sw=4 et:
|