diff --git a/testing/py3-jaraco.text/APKBUILD b/testing/py3-jaraco.text/APKBUILD new file mode 100644 index 0000000000000000000000000000000000000000..7afbf9f0a385828ec3c11718ee00f3358a2f2b0d --- /dev/null +++ b/testing/py3-jaraco.text/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Duncan Bellamy <dunk@denkimushi.com> +# Maintainer: Duncan Bellamy <dunk@denkimushi.com> +pkgname=py3-jaraco.text +pkgver=3.5.0 +pkgrel=0 +pkgdesc="Module for text manipulation" +url="https://github.com/jaraco/jaraco.text" +arch="noarch" +license="MIT" +depends="py3-jaraco-functools" +makedepends="py3-setuptools" +checkdepends="py3-pytest" +source="https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-$pkgver.tar.gz + setuptools_scm.patch + " +builddir="$srcdir/jaraco.text-$pkgver" + +build() { + python3 setup.py build +} + +check() { + pytest +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums=" +da566f1a6d8343d05c51ca3f4635212094ddbc84fe9b460dd7630030a9b5bb28c97ccb0de5928da50230a182985c7e5bce8903d4019ce5afb89067ad938dd152 jaraco.text-3.5.0.tar.gz +4f0fd509dcf38900f58911526f663d76d76e0e8bed27856915c6ac96a9229b63542160e3505e97627b8c5d45ce4f4836119c36473b3a5127727b8fd5697161d8 setuptools_scm.patch +" diff --git a/testing/py3-jaraco.text/setuptools_scm.patch b/testing/py3-jaraco.text/setuptools_scm.patch new file mode 100644 index 0000000000000000000000000000000000000000..6bfcad107484d3bac5894badb4be64af6b11d63b --- /dev/null +++ b/testing/py3-jaraco.text/setuptools_scm.patch @@ -0,0 +1,10 @@ +--- a/setup.cfg ++++ b/setup.cfg +@@ -21,7 +21,6 @@ + install_requires = + jaraco.functools + importlib_resources; python_version < "3.7" +-setup_requires = setuptools_scm[toml] >= 3.4.1 + + [options.packages.find] + exclude =