initial import
This commit is contained in:
24
python-mypy_extensions/PKGBUILD
Normal file
24
python-mypy_extensions/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=python-mypy_extensions
|
||||
pkgver=0.4.3
|
||||
pkgrel=2
|
||||
pkgdesc="Experimental type system extensions for programs checked with the mypy typechecker"
|
||||
url='https://www.mypy-lang.org/'
|
||||
arch=('any')
|
||||
license=('Expat')
|
||||
depends=('python')
|
||||
makedepends=('python-setuptools')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/python/mypy_extensions/archive/refs/tags/$pkgver.tar.gz")
|
||||
sha512sums=('22d8dc538cf6f77d97f4113dd34fce8095dd98944c7613fab2b3e71a3e9b7df1374654af41ead5c934f789ef1b72f54d980ab06f3ca28b8b4c6bb14ba1ca3ce2')
|
||||
|
||||
build() {
|
||||
cd "mypy_extensions-$pkgver"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "mypy_extensions-$pkgver"
|
||||
python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1 --skip-build
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user