Date: Friday, March 10, 2023 @ 20:55:34
  Author: foxboron
Revision: 1417725

archrelease: copy trunk to community-any

Added:
  mypy/repos/community-any/PKGBUILD
    (from rev 1417724, mypy/trunk/PKGBUILD)
Deleted:
  mypy/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-10 20:55:29 UTC (rev 1417724)
+++ PKGBUILD    2023-03-10 20:55:34 UTC (rev 1417725)
@@ -1,49 +0,0 @@
-# Maintainer: Morten Linderud <[email protected]>
-# Contributor: icasdri <icasdri at gmail dot com>
-# Contributor: hexchain <[email protected]>
-
-pkgname=mypy
-pkgver=1.0.1
-pkgrel=1
-pkgdesc='Optional static typing for Python 2 and 3 (PEP484)'
-url="http://www.mypy-lang.org/";
-arch=('any')
-license=('MIT')
-depends=('python-psutil' 'python-mypy_extensions' 'python-typing_extensions'
-'python-tomli')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
-checkdepends=('python-pytest' 'python-six')
-optdepends=(
-  'python-lxml: for reports'
-  'python-pip: for installing missing types'
-)
-source=("$pkgname-$pkgver.tar.gz::https://pypi.org/packages/source/m/$pkgname/$pkgname-$pkgver.tar.gz";)
-sha256sums=('28cea5a6392bb43d266782983b5a4216c25544cd7d80be681a155ddcdafd152d')
-
-prepare() {
-    cd "$pkgname-$pkgver"
-    # remove unneeded build requirements as we are not compiling mypy: 
https://github.com/python/mypy/issues/14171
-    sed -e 
'/typing_extensions/d;/mypy_extensions/d;/typed_ast/d;/tomli/d;/types-psutil/d;/types-setuptools/d;/types-typed-ast/d'
 -i pyproject.toml
-    # -Werror, not even once
-    sed -e '/Werror/d' -i mypyc/build.py
-}
-
-build() {
-    cd "$pkgname-$pkgver"
-    python -m build --wheel --no-isolation
-}
-
-check() {
-    cd "$pkgname-$pkgver"
-    pytest -vv -c /dev/null
-}
-
-package() {
-    local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-
-    cd "$pkgname-$pkgver"
-    python -m installer --destdir="$pkgdir" dist/*.whl
-    install -vDm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
-    # remove tests
-    rm -frv "$pkgdir/$_site_packages/$pkgname/test/"
-}

Copied: mypy/repos/community-any/PKGBUILD (from rev 1417724, 
mypy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-10 20:55:34 UTC (rev 1417725)
@@ -0,0 +1,49 @@
+# Maintainer: Morten Linderud <[email protected]>
+# Contributor: icasdri <icasdri at gmail dot com>
+# Contributor: hexchain <[email protected]>
+
+pkgname=mypy
+pkgver=1.1.1
+pkgrel=1
+pkgdesc='Optional static typing for Python 2 and 3 (PEP484)'
+url="http://www.mypy-lang.org/";
+arch=('any')
+license=('MIT')
+depends=('python-psutil' 'python-mypy_extensions' 'python-typing_extensions'
+'python-tomli')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+checkdepends=('python-pytest' 'python-six')
+optdepends=(
+  'python-lxml: for reports'
+  'python-pip: for installing missing types'
+)
+source=("$pkgname-$pkgver.tar.gz::https://pypi.org/packages/source/m/$pkgname/$pkgname-$pkgver.tar.gz";)
+sha256sums=('ae9ceae0f5b9059f33dbc62dea087e942c0ccab4b7a003719cb70f9b8abfa32f')
+
+prepare() {
+    cd "$pkgname-$pkgver"
+    # remove unneeded build requirements as we are not compiling mypy: 
https://github.com/python/mypy/issues/14171
+    sed -e 
'/typing_extensions/d;/mypy_extensions/d;/typed_ast/d;/tomli/d;/types-psutil/d;/types-setuptools/d;/types-typed-ast/d'
 -i pyproject.toml
+    # -Werror, not even once
+    sed -e '/Werror/d' -i mypyc/build.py
+}
+
+build() {
+    cd "$pkgname-$pkgver"
+    python -m build --wheel --no-isolation
+}
+
+check() {
+    cd "$pkgname-$pkgver"
+    pytest -vv -c /dev/null
+}
+
+package() {
+    local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+
+    cd "$pkgname-$pkgver"
+    python -m installer --destdir="$pkgdir" dist/*.whl
+    install -vDm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+    # remove tests
+    rm -frv "$pkgdir/$_site_packages/$pkgname/test/"
+}

Reply via email to