diff --git a/community/py3-setuptools-rust/APKBUILD b/community/py3-setuptools-rust/APKBUILD index 4c699a78bd7..bd08b1e1060 100644 --- a/community/py3-setuptools-rust/APKBUILD +++ b/community/py3-setuptools-rust/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-setuptools-rust -pkgver=1.6.0 -pkgrel=1 +pkgver=1.9.0 +pkgrel=0 pkgdesc="Setuptools plugin for rust support" url="https://github.com/PyO3/setuptools-rust" arch="noarch" @@ -24,14 +24,20 @@ checkdepends=" python3-dev " subpackages="$pkgname-pyc" -source="$pkgname-$pkgver.tar.gz::https://github.com/PyO3/setuptools-rust/archive/refs/tags/v$pkgver.tar.gz - typing-ext.patch - " +source="$pkgname-$pkgver.tar.gz::https://github.com/PyO3/setuptools-rust/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/setuptools-rust-$pkgver" options="net" # check needs network access, no easy patch export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver +prepare() { + default_prepare + + # This test relies on behavior that may be glibc-specific + mv -v examples/hello-world/noxfile.py \ + examples/hello-world/noxfile.py.disabled +} + build() { gpep517 build-wheel \ --wheel-dir .dist \ @@ -48,6 +54,5 @@ package() { } sha512sums=" -93945d06e8cb38c5764fa8ec12b039111b3ee677dfe66350a4f554f1c1622885a0dcef34a1b429172859bca1081df8b82c05ce81b6714c6d43cfa073ade75785 py3-setuptools-rust-1.6.0.tar.gz -c3a073759a7ec1e8cb1f7ef5e9fb0d215e4bdd990eb2889004be915955bbc3d3ceb022897c5d7e496cd164d0b934b4fcf33c84658b25a70fcc63ef0ee4a3ce22 typing-ext.patch +874bb632a2847cd5febeaa766765ee58432b1a0b96fddfe0fb779f9d7965b726a7c7836e3de6700d801aca1b00a64326ca3de63027069c4a047800bd5d64dfcc py3-setuptools-rust-1.9.0.tar.gz " diff --git a/community/py3-setuptools-rust/typing-ext.patch b/community/py3-setuptools-rust/typing-ext.patch deleted file mode 100644 index 153919da91a..00000000000 --- a/community/py3-setuptools-rust/typing-ext.patch +++ /dev/null @@ -1,53 +0,0 @@ -remove pointless typing-ext dep --- -diff --git a/setup.cfg b/setup.cfg -index 12903ea..c6e762e 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -30,7 +30,6 @@ zip_safe = True - install_requires = - setuptools>=62.4 - semantic_version>=2.8.2,<3 -- typing_extensions>=3.7.4.3 - setup_requires = setuptools>=62.4 - python_requires = >=3.7 - -diff --git a/setuptools_rust/build.py b/setuptools_rust/build.py -index 9a039ca..8e3e0dc 100644 ---- a/setuptools_rust/build.py -+++ b/setuptools_rust/build.py -@@ -24,7 +24,7 @@ from semantic_version import Version - from setuptools.command.build import build as CommandBuild # type: ignore[import] - from setuptools.command.build_ext import build_ext as CommandBuildExt - from setuptools.command.build_ext import get_abi3_suffix --from typing_extensions import Literal -+from typing import Literal - - from ._utils import format_called_process_error - from .command import RustCommand -diff --git a/setuptools_rust/extension.py b/setuptools_rust/extension.py -index f7a09d1..537a8db 100644 ---- a/setuptools_rust/extension.py -+++ b/setuptools_rust/extension.py -@@ -9,7 +9,7 @@ from functools import lru_cache - from typing import Any, Dict, List, NewType, Optional, Sequence, Union, cast - - from semantic_version import SimpleSpec --from typing_extensions import Literal -+from typing import Literal - - from ._utils import format_called_process_error - -diff --git a/setuptools_rust/setuptools_ext.py b/setuptools_rust/setuptools_ext.py -index ab51d16..550cfb5 100644 ---- a/setuptools_rust/setuptools_ext.py -+++ b/setuptools_rust/setuptools_ext.py -@@ -11,7 +11,7 @@ from setuptools.command.install_lib import install_lib - from setuptools.command.install_scripts import install_scripts - from setuptools.command.sdist import sdist - from setuptools.dist import Distribution --from typing_extensions import Literal -+from typing import Literal - - from .extension import RustBin, RustExtension -