Merge pull request #20731 from pprindeville/isc-dhcp-update-4.4.3-P1
[feed/packages.git] / lang / python / python-pathspec / Makefile
1 #
2 # Copyright (C) 2023 Jeffery To
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-pathspec
11 PKG_VERSION:=0.11.1
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=pathspec
15 PKG_HASH:=2798de800fa92780e33acca925945e9a19a133b715067cf165b8866c15a31687
16
17 PKG_LICENSE:=MPL-2.0
18 PKG_LICENSE_FILES:=LICENSE
19 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20
21 PKG_HOST_ONLY:=1
22 HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-flit-core/host
23
24 include ../pypi.mk
25 include $(INCLUDE_DIR)/package.mk
26 include $(INCLUDE_DIR)/host-build.mk
27 include ../python3-package.mk
28 include ../python3-host-build.mk
29
30 define Package/python3-pathspec
31 SECTION:=lang
32 CATEGORY:=Languages
33 SUBMENU:=Python
34 TITLE:=gitignore style pattern matching of file paths
35 URL:=https://github.com/cpburnz/python-pathspec
36 DEPENDS:=+python3-light
37 BUILDONLY:=1
38 endef
39
40 define Package/python3-pathspec/description
41 pathspec is a utility library for pattern matching of file paths. So far
42 this only includes Git's wildmatch pattern matching which itself is
43 derived from Rsync's wildmatch. Git uses wildmatch for its gitignore
44 files.
45 endef
46
47 $(eval $(call Py3Package,python3-pathspec))
48 $(eval $(call BuildPackage,python3-pathspec))
49 $(eval $(call BuildPackage,python3-pathspec-src))
50 $(eval $(call HostBuild))