diff --git a/srcpkgs/python3-socksio/patches/allow-flit-versions.patch b/srcpkgs/python3-socksio/patches/allow-flit-versions.patch new file mode 100644 index 00000000000..0a6f8400d71 --- /dev/null +++ b/srcpkgs/python3-socksio/patches/allow-flit-versions.patch @@ -0,0 +1,9 @@ +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["flit_core >=2,<3"] ++requires = ["flit_core"] + build-backend = "flit_core.buildapi" + + [tool.flit.metadata] diff --git a/srcpkgs/python3-socksio/template b/srcpkgs/python3-socksio/template new file mode 100644 index 00000000000..72c7bcbb8bf --- /dev/null +++ b/srcpkgs/python3-socksio/template @@ -0,0 +1,17 @@ +# Template file for 'python3-socksio' +pkgname=python3-socksio +version=1.0.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-poetry-core" +makedepends="python3-flit_core" +short_desc="Sans-I/O implementation of SOCKS4/5" +maintainer="Andrew Benson " +license="MIT" +homepage="https://pypi.org/project/socksio/" +distfiles="${PYPI_SITE}/s/socksio/socksio-${version}.tar.gz" +checksum=f88beb3da5b5c38b9890469de67d0cb0f9d494b78b106ca1845f96c10b91c4ac + +post_install() { + vlicense LICENSE +}