From 79c3b2a3b4e074f715fe723b0af08aee1a1ecfcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?= =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= Date: Thu, 17 Oct 2024 20:37:57 +0100 Subject: [PATCH] drop all rust reverse-dependencies on clang32. --- mingw-w64-python-cryptography/PKGBUILD | 2 +- mingw-w64-python-ndg-httpsclient/PKGBUILD | 18 +++++++----------- mingw-w64-python-pyopenssl/PKGBUILD | 2 +- mingw-w64-python-setuptools-rust/PKGBUILD | 2 +- 4 files changed, 10 insertions(+), 14 deletions(-) diff --git a/mingw-w64-python-cryptography/PKGBUILD b/mingw-w64-python-cryptography/PKGBUILD index 48281d92a7..0bdc96c7c7 100644 --- a/mingw-w64-python-cryptography/PKGBUILD +++ b/mingw-w64-python-cryptography/PKGBUILD @@ -13,7 +13,7 @@ pkgrel=1 pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers (mingw-w64)" license=('spdx:Apache-2.0') arch=('any') -mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') +mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64') url='https://cryptography.io/' msys2_repository_url='https://github.com/pyca/cryptography' msys2_references=( diff --git a/mingw-w64-python-ndg-httpsclient/PKGBUILD b/mingw-w64-python-ndg-httpsclient/PKGBUILD index 7e71cbe645..4e7610b485 100644 --- a/mingw-w64-python-ndg-httpsclient/PKGBUILD +++ b/mingw-w64-python-ndg-httpsclient/PKGBUILD @@ -4,38 +4,34 @@ _pyname=ndg_httpsclient _realname=ndg-httpsclient pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") -provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgver=0.5.1 pkgrel=5 pkgdesc="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL (mingw-w64)" -url='https://pypi.python.org/pypi/ndg-httpsclient' -license=('BSD') arch=('any') -mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') +mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64') +url='https://github.com/cedadev/ndg_httpsclient/' msys2_references=( 'pypi: ndg-httpsclient' ) +license=('spdx:BSD-3-Clause') depends=("${MINGW_PACKAGE_PREFIX}-python-pyopenssl" "${MINGW_PACKAGE_PREFIX}-python-pyasn1") makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools") -source=("${_realname}-${pkgver}.tar.gz"::"https://files.pythonhosted.org/packages/source/n/${_realname}/${_pyname}-${pkgver}.tar.gz") +source=("https://pypi.org/packages/source//n/${_realname}/${_pyname}-${pkgver}.tar.gz") sha256sums=('d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210') prepare() { cd ${srcdir} - cp -r ${_pyname}-${pkgver} python-build-${CARCH} + cp -r ${_pyname}-${pkgver} python-build-${MSYSTEM} } build() { - msg "Python build for ${CARCH}" - cd "${srcdir}/python-build-${CARCH}" + cd "${srcdir}/python-build-${MSYSTEM}" ${MINGW_PREFIX}/bin/python setup.py build } package() { - cd ${srcdir}/python-build-${CARCH} + cd ${srcdir}/python-build-${MSYSTEM} MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ ${MINGW_PREFIX}/bin/python setup.py install --prefix=${MINGW_PREFIX} --root="${pkgdir}" --optimize=1 --skip-build diff --git a/mingw-w64-python-pyopenssl/PKGBUILD b/mingw-w64-python-pyopenssl/PKGBUILD index 4a06c2d4c5..0563ad55ab 100644 --- a/mingw-w64-python-pyopenssl/PKGBUILD +++ b/mingw-w64-python-pyopenssl/PKGBUILD @@ -9,7 +9,7 @@ pkgdesc="Python wrapper module around the OpenSSL library (mingw-w64)" url='https://www.pyopenssl.org' license=('spdx:Apache-2.0') arch=('any') -mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') +mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64') msys2_references=( 'archlinux: python-pyopenssl' 'pypi: pyOpenSSL' diff --git a/mingw-w64-python-setuptools-rust/PKGBUILD b/mingw-w64-python-setuptools-rust/PKGBUILD index 6272e5c85c..d06a71468f 100644 --- a/mingw-w64-python-setuptools-rust/PKGBUILD +++ b/mingw-w64-python-setuptools-rust/PKGBUILD @@ -13,7 +13,7 @@ msys2_references=( ) license=('spdx:MIT') arch=('any') -mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') +mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64') depends=("${MINGW_PACKAGE_PREFIX}-rust" "${MINGW_PACKAGE_PREFIX}-python-semantic-version" "${MINGW_PACKAGE_PREFIX}-python-setuptools")