Signed-off-by: Lars Pedersen <[email protected]>
---
 rules/host-python3-pathspec.in   |  7 +++++++
 rules/host-python3-pathspec.make | 33 ++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 rules/host-python3-pathspec.in
 create mode 100644 rules/host-python3-pathspec.make

diff --git a/rules/host-python3-pathspec.in b/rules/host-python3-pathspec.in
new file mode 100644
index 000000000..b129e4299
--- /dev/null
+++ b/rules/host-python3-pathspec.in
@@ -0,0 +1,7 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_PATHSPEC
+       tristate
+       default y if ALLYES
+       select HOST_PYTHON3
+       select HOST_PYTHON3_SETUPTOOLS
diff --git a/rules/host-python3-pathspec.make b/rules/host-python3-pathspec.make
new file mode 100644
index 000000000..5dbdcf63f
--- /dev/null
+++ b/rules/host-python3-pathspec.make
@@ -0,0 +1,33 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Lars Pedersen <[email protected]>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_PATHSPEC) += host-python3-pathspec
+
+#
+# Paths and names
+#
+HOST_PYTHON3_PATHSPEC_VERSION          := 0.12.1
+HOST_PYTHON3_PATHSPEC_MD5              := 2b26ad1981bfa23748e115f00085624c
+HOST_PYTHON3_PATHSPEC                  := 
pathspec-$(HOST_PYTHON3_PATHSPEC_VERSION)
+HOST_PYTHON3_PATHSPEC_SUFFIX           := tar.gz
+HOST_PYTHON3_PATHSPEC_URL              := $(call ptx/mirror-pypi, pathspec, 
$(HOST_PYTHON3_PATHSPEC).$(HOST_PYTHON3_PATHSPEC_SUFFIX))
+HOST_PYTHON3_PATHSPEC_SOURCE           := 
$(SRCDIR)/$(HOST_PYTHON3_PATHSPEC).$(HOST_PYTHON3_PATHSPEC_SUFFIX)
+HOST_PYTHON3_PATHSPEC_DIR              := 
$(HOST_BUILDDIR)/$(HOST_PYTHON3_PATHSPEC)
+HOST_PYTHON3_PATHSPEC_LICENSE          := MPL-2.0
+HOST_PYTHON3_PATHSPEC_LICENSE_FILES    := 
file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PYTHON3_PATHSPEC_CONF_TOOL        := python3
+
+# vim: syntax=make
-- 
2.47.0


Reply via email to