From 3f78c62b10fe4c154bf4cd1fff825df6b01ce32b Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sat, 28 Mar 2026 13:34:13 -0400 Subject: python-requests-cache: remove as it is in extra python-url-normalize: remove as it is in extra --- linhes/python-requests-cache/.gitignore | 5 ---- linhes/python-requests-cache/PKGBUILD | 50 --------------------------------- linhes/python-url-normalize/PKGBUILD | 35 ----------------------- 3 files changed, 90 deletions(-) delete mode 100644 linhes/python-requests-cache/.gitignore delete mode 100644 linhes/python-requests-cache/PKGBUILD delete mode 100644 linhes/python-url-normalize/PKGBUILD diff --git a/linhes/python-requests-cache/.gitignore b/linhes/python-requests-cache/.gitignore deleted file mode 100644 index 743531c..0000000 --- a/linhes/python-requests-cache/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/src/ -/pkg/ -/*.pkg.* -/*.log -/*.tar.gz diff --git a/linhes/python-requests-cache/PKGBUILD b/linhes/python-requests-cache/PKGBUILD deleted file mode 100644 index 1bde8f5..0000000 --- a/linhes/python-requests-cache/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Maintainer: Jordan Cook -# Maintainer: Carlos Aznarán -# Maintainer: Philipp A. -# Contributor: Benoit Pierre -# Contributor: Simon Legner -# Contributor: Aniket Pradhan -# Contributor: Roman Haritonov -_base=requests-cache -pkgname=python-${_base} -pkgdesc="A persistent cache for python requests" -pkgver=1.2.1 -pkgrel=3 -arch=(any) -url="https://github.com/${_base}/${_base}" -license=('custom:BSD-2-clause') -depends=(python-requests python-cattrs python-platformdirs python-url-normalize) -makedepends=(python-build python-installer python-poetry-core python-wheel) -optdepends=('python-boto3: Cache backend for Amazon DynamoDB database' - 'python-botocore: Interface for Amazon Web Services' - 'python-pymongo: Cache backend for MongoDB database' - 'python-redis: Cache backend for Redis cache' - 'python-bson: for BSON codec' - 'python-itsdangerous: for pass trusted data to untrusted environments' - 'python-yaml: for bindings yaml support' - 'python-ujson: for JSON serializer for improved performance' -) -checkdepends=(python-pytest python-requests-mock python-responses python-timeout-decorator - python-time-machine python-rich python-ujson python-itsdangerous) -source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz) -sha512sums=('f8977b1afc005ddd73019d2a0e39da368f376602110602c0b24c317b548f31a3489e686502ecd48ae3583e471fdd70671913e529c73dacdcaecadb1cd1e6c126') - -build() { - cd ${_base}-${pkgver} - # Note: set `GIT_CEILING_DIRECTORIES` to prevent poetry - # from incorrectly using a parent git checkout info. - # https://github.com/pypa/build/issues/384#issuecomment-947675975 - GIT_CEILING_DIRECTORIES="${PWD}/.." python -m build --wheel --skip-dependency-check --no-isolation -} - -check() { - cd ${_base}-${pkgver} - #https://github.com/requests-cache/requests-cache/issues/1033 - python -m pytest --ignore=tests/integration --ignore=tests/unit/test_base_cache.py --ignore=tests/unit/test_session.py -} - -package() { - cd ${_base}-${pkgver} - python -m installer --destdir="${pkgdir}" dist/*.whl - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/linhes/python-url-normalize/PKGBUILD b/linhes/python-url-normalize/PKGBUILD deleted file mode 100644 index 7ec12cc..0000000 --- a/linhes/python-url-normalize/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Maintainer: Carlos Aznarán -# Maintainer: Jordan Cook -# Contributor: Benoit Pierre -# Contributor: Marc Plano-Lesay -_base=url-normalize -pkgname=python-${_base} -pkgdesc="URL normalization for Python" -pkgver=2.2.1 -pkgrel=2 -arch=(any) -url="https://github.com/niksite/${_base}" -license=(MIT) -depends=(python-idna) -makedepends=(python-build python-installer python-setuptools python-wheel) -# checkdepends=(python-pytest) -source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz) -sha512sums=('51f57bf6d94863662789321b8965c0ca833d34d0c8095f2a39303a410f61c24f04a56e83258dafaa8a4250b0d1b44ad3c3a63430da2b04f4d906d84a71208f46') - -build() { - cd ${_base}-${pkgver} - python -m build --wheel --skip-dependency-check --no-isolation -} - -# check() { -# cd ${_base}-${pkgver} -# python -m venv --system-site-packages test-env -# test-env/bin/python -m installer dist/*.whl -# test-env/bin/python -m pytest tests -# } - -package() { - cd ${_base}-${pkgver} - PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} -- cgit v0.12