Date: Monday, July 13, 2020 @ 16:32:18 Author: foxboron Revision: 663432
archrelease: copy trunk to community-any Added: mypy/repos/community-any/PKGBUILD (from rev 663431, mypy/trunk/PKGBUILD) Deleted: mypy/repos/community-any/PKGBUILD ----------+ PKGBUILD | 53 +++++++++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 26 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-13 16:32:11 UTC (rev 663431) +++ PKGBUILD 2020-07-13 16:32:18 UTC (rev 663432) @@ -1,26 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contributor: icasdri <icasdri at gmail dot com> -# Contributor: hexchain <i...@hexchain.org> - -pkgname=mypy -pkgver=0.782 -pkgrel=1 -pkgdesc='Optional static typing for Python 2 and 3 (PEP484)' -url="http://www.mypy-lang.org/" -arch=('any') -license=('MIT') -depends=('python-setuptools' 'python-psutil' 'python-typed-ast' 'python-mypy_extensions' 'python-typing_extensions') -makedepends=('git') -source=("$pkgname-$pkgver.tar.gz::https://pypi.org/packages/source/m/$pkgname/$pkgname-$pkgver.tar.gz") -sha256sums=('eff7d4a85e9eea55afa34888dfeaccde99e7520b51f867ac28a48492c0b1130c') - -build() { - cd "$pkgname-$pkgver" - python setup.py build -} - -package() { - cd "$pkgname-$pkgver" - python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1 --skip-build - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: mypy/repos/community-any/PKGBUILD (from rev 663431, mypy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-13 16:32:18 UTC (rev 663432) @@ -0,0 +1,27 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: icasdri <icasdri at gmail dot com> +# Contributor: hexchain <i...@hexchain.org> + +pkgname=mypy +pkgver=0.782 +pkgrel=2 +pkgdesc='Optional static typing for Python 2 and 3 (PEP484)' +url="http://www.mypy-lang.org/" +arch=('any') +license=('MIT') +depends=('python-setuptools' 'python-psutil' 'python-typed-ast' 'python-mypy_extensions' 'python-typing_extensions') +makedepends=('git') +source=("$pkgname-$pkgver.tar.gz::https://pypi.org/packages/source/m/$pkgname/$pkgname-$pkgver.tar.gz") +sha256sums=('eff7d4a85e9eea55afa34888dfeaccde99e7520b51f867ac28a48492c0b1130c') + +build() { + cd "$pkgname-$pkgver" + export PYTHONHASHSEED=0 + python setup.py build +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}