blob: 87964233b3fc23dd818c120c96828e7481df84d4 (
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
|
_name=python-dateutil-git
pkgname=python-dateutil-git
_pkgname=${pkgname%-git}
pkgver=2.8.2
pkgrel=1
pkgdesc="Provides powerful extensions to the standard datetime module"
arch=('any')
license=('BSD' 'Apache')
url="https://github.com/dateutil/dateutil"
depends=('python' 'python-six')
makedepends=('python-build' 'python-wheel' 'python-installer' 'python-setuptools-scm')
source=("$_pkgname::git+$url.git")
sha256sums=('SKIP')
build() {
cd "$_pkgname"
echo "$pkgdir"
python -m build --wheel --no-isolation
}
package() {
cd "$_pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|