From 2dad78a379927e580bff15484c2da7c9db64e1ce Mon Sep 17 00:00:00 2001 From: sev Date: Sat, 25 May 2024 07:44:01 -0500 Subject: [PATCH] testing/web2ldap: bump pkgrel, add patch --- testing/web2ldap/APKBUILD | 7 ++++--- testing/web2ldap/fix-python_requires.patch | 11 +++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 testing/web2ldap/fix-python_requires.patch diff --git a/testing/web2ldap/APKBUILD b/testing/web2ldap/APKBUILD index 6a9e7a2..ac5c162 100644 --- a/testing/web2ldap/APKBUILD +++ b/testing/web2ldap/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: sev pkgname=web2ldap pkgver=1.8.1 -pkgrel=1 +pkgrel=3 pkgdesc="Full-featured LDAP client running as web application" url="https://web2ldap.de" arch="noarch" @@ -10,9 +10,9 @@ license="Apache-2.0" makedepends="python3-dev py3-setuptools" depends="py3-ldap0 py3-xlwt py3-dnspython py3-iso3166 py3-asn1crypto py3-paramiko" subpackages="$pkgname-openrc" -source="https://www.web2ldap.de/download/web2ldap-$pkgver.tar.gz +source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz + fix-python_requires.patch $pkgname.initd" -builddir="$srcdir/web2ldap-$pkgver" build() { python3 setup.py build @@ -34,5 +34,6 @@ package() { sha512sums=" c752266cc94aaea4d13c98ccf434821e53662348a265abd3a636b11956cbaad7dbc6dc9fb7bb36c4bc6168622a54b9d39920ea0b7c27f67340ca03fabe445c71 web2ldap-1.8.1.tar.gz +4519c31ef9d62c47d7a6af6ba361ac5c243d8f77dd36b2a16f8adda9e38f9cecf935305b2ce69834f9fe23740a361826e5b53999594fe354b702a556cc1da304 fix-python_requires.patch e1c43bf3b6aeb96c327bd6c1b3ff2ef2f834b6fe58ced31e2b02d3a6006ded5da665faa27f4971df9ef5e8305b2f0a2ccbb626191f08085eef77e88caac5d4d1 web2ldap.initd " diff --git a/testing/web2ldap/fix-python_requires.patch b/testing/web2ldap/fix-python_requires.patch new file mode 100644 index 0000000..9a26f9b --- /dev/null +++ b/testing/web2ldap/fix-python_requires.patch @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -53,7 +53,7 @@ + packages=find_packages(exclude=['tests']), + package_dir={'': '.'}, + test_suite='tests', +- python_requires='>=3.6.*', ++ python_requires='>=3.6', + include_package_data=True, + data_files=DATA_FILES, + install_requires=[ -- 2.46.2