blob: 9b712a26b65168c8b06b19b2cd6a1fdf4de90c0b (
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
|
# Maintainer: Benjamin Winger <bmw@disroot.org>
pkgname=python-mailbits
pkgver=0.2.2
pkgrel=1
pkgdesc="Assorted e-mail utility functions"
provides=('python-mailbits')
conflicts=('python-mailbits')
arch=(any)
url="https://github.com/jwodder/mailbits"
license=(MIT)
depends=("python"
"python-attrs")
makedepends=("python-setuptools" "python-build" "python-installer" "python-hatchling")
source=("https://github.com/jwodder/mailbits/archive/refs/tags/v$pkgver.zip")
sha512sums=('afd1e5ea00f9267cbd55a3575df345b909efeadbd8aed556166a6190346c75fa5932d0b79f14b8613b572e92528a354019cb29e360f779b52d1e2a13f3656a00')
build() {
cd "$srcdir/mailbits-$pkgver"
python -m build --wheel --skip-dependency-check --no-isolation
}
package() {
cd "$srcdir/mailbits-$pkgver"
python -m installer --destdir $pkgdir dist/*.whl
}
|