summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-17 15:39:23 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-17 15:39:23 +0000
commit761ad60f1608aaa8f78ae2565314a1977ed16369 (patch)
treeb1861a9c6c038eb96088cb042bd1f4c67cbda4ed
parentc1700984ae3cf64b0d46e3daa5e8362fdd23a1e1 (diff)
automatic import of python-frontmatteropeneuler24.03_LTSopeneuler23.09
-rw-r--r--.gitignore1
-rw-r--r--python-frontmatter.spec48
-rw-r--r--sources1
3 files changed, 50 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a0fc878 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-frontmatter-1.1.0.tar.gz
diff --git a/python-frontmatter.spec b/python-frontmatter.spec
new file mode 100644
index 0000000..d191947
--- /dev/null
+++ b/python-frontmatter.spec
@@ -0,0 +1,48 @@
+%global modname frontmatter
+
+Name: python-%{modname}
+Version: 1.1.0
+Release: 1%{?dist}
+Summary: A small package to load and parse files (or just text) with YAML (or JSON, TOML or other) front matter.
+
+License: MIT
+URL: https://github.com/eyeseast/python-frontmatter
+Source0: %{pypi_source python-frontmatter}
+
+BuildArch: noarch
+
+BuildRequires: python3-devel
+
+%global _description %{expand:
+This is a small package to load and parse files (or just text) with YAML (or JSON, TOML or other) front matter.}
+
+%description %{_description}
+
+%package -n python3-%{modname}
+Summary: %{summary}
+
+%description -n python3-%{modname}
+%{_description}
+
+%prep
+%autosetup -n python-%{modname}-%{version} -p 1
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%check
+
+%files -n python3-%{modname}
+%license LICENSE
+%{python3_sitelib}/python_frontmatter-*.egg-info/
+%{python3_sitelib}/%{modname}/*
+
+%changelog
+* Tue Wed 07 2024 weilinfox <caiweilin@iscas.ac.cn> - 1.1.0-1
+- Upgrade package to version 1.1.0
+
+* Tue Feb 06 2024 weilinfox <caiweilin@iscas.ac.cn> - 1.0.1-1
+- Build for openEuler 2309
diff --git a/sources b/sources
new file mode 100644
index 0000000..a9427fb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f0d26bc7456a2ad868a6b5e5df2d6ee4 python-frontmatter-1.1.0.tar.gz