2 # Copyright (C) 2023 Jeffery To
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=python-pathspec
15 PKG_HASH
:=a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712
18 PKG_LICENSE_FILES
:=LICENSE
19 PKG_MAINTAINER
:=Jeffery To
<jeffery.to@gmail.com
>
22 HOST_BUILD_DEPENDS
:=python3
/host python-build
/host python-installer
/host python-flit-core
/host
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/host-build.mk
27 include ..
/python3-package.mk
28 include ..
/python3-host-build.mk
30 define Package
/python3-pathspec
34 TITLE
:=gitignore style pattern matching of file paths
35 URL
:=https
://github.com
/cpburnz
/python-pathspec
36 DEPENDS
:=+python3-light
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
47 $(eval
$(call Py3Package
,python3-pathspec
))
48 $(eval
$(call BuildPackage
,python3-pathspec
))
49 $(eval
$(call BuildPackage
,python3-pathspec-src
))
50 $(eval
$(call HostBuild
))