Bump to 0.12.1 sandbox/python3-pathspec_0.12.1
authorTizenOpenSource <tizenopensrc@samsung.com>
Tue, 6 Feb 2024 03:52:28 +0000 (12:52 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Tue, 6 Feb 2024 03:52:28 +0000 (12:52 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/python3-pathspec.manifest [new file with mode: 0644]
packaging/python3-pathspec.spec [new file with mode: 0644]

diff --git a/packaging/python3-pathspec.manifest b/packaging/python3-pathspec.manifest
new file mode 100644 (file)
index 0000000..86dbb26
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+    <request>
+        <domain name="_" />
+    </request>
+</manifest>
diff --git a/packaging/python3-pathspec.spec b/packaging/python3-pathspec.spec
new file mode 100644 (file)
index 0000000..30deab1
--- /dev/null
@@ -0,0 +1,38 @@
+Name:           python3-pathspec
+Version:        0.12.1
+Release:        0
+Summary:        Utility library for gitignore style pattern matching of file paths
+License:        MPL-2.0
+URL:            https://github.com/cpburnz/python-path-specification
+Source0:        pathspec-%{version}.tar.gz
+Source1001:     %{name}.manifest
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+
+BuildArch:      noarch
+
+%description
+Pathspec is a utility library for pattern matching of file paths. So
+far this only includes Git's wildmatch pattern matching which itself is
+derived from Rsync's wildmatch. Git uses wildmatch for its `gitignore`_
+files.
+
+%prep
+%setup -q -n pathspec-%{version}
+
+%build
+cp %{SOURCE1001} .
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm -f %{buildroot}%{python3_sitelib}/build/py.typed
+
+%files 
+%manifest %{name}.manifest
+%license LICENSE
+%{python3_sitelib}/pathspec/*.py
+%{python3_sitelib}/pathspec/__pycache__/*
+%{python3_sitelib}/pathspec/patterns/*
+%{python3_sitelib}/pathspec-%{version}-py%{python3_version}.egg-info