summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-18 14:21:41 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-18 14:21:41 +0000
commit82829f840222a13b8a048a02352c5f6813e1ff31 (patch)
tree05b13a0d1acc942f405ae989313c1d43ddea2fa0
parent2673ae735765632febe06031f0929daaea972890 (diff)
automatic import of python-mdurlopeneuler23.09
-rw-r--r--.gitignore1
-rw-r--r--python-mdurl.spec45
-rw-r--r--sources1
3 files changed, 47 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..486e1e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mdurl-0.1.2.tar.gz
diff --git a/python-mdurl.spec b/python-mdurl.spec
new file mode 100644
index 0000000..c3795ce
--- /dev/null
+++ b/python-mdurl.spec
@@ -0,0 +1,45 @@
+Name: python-mdurl
+Version: 0.1.2
+Release: 1
+Summary: Markdown URL utilities
+
+License: MIT
+URL: https://github.com/hukkin/mdurl
+Source0: https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-hatchling
+BuildRequires: python3-flit-core
+
+%description
+URL utilities for markdown-it parser.
+
+%package -n python3-mdurl
+Summary: %{summary}
+
+%description -n python3-mdurl
+URL utilities for markdown-it parser.
+
+%prep
+%autosetup -p1 -n mdurl-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+
+%files -n python3-mdurl
+%doc README.md
+%license LICENSE
+%{python3_sitelib}/mdurl*.dist-info/
+%{python3_sitelib}/mdurl/
+
+
+%changelog
+* Tue Aug 01 2023 ysliu <ysliuci@isoftstone.com> - 0.1.2-1
+- Initial package.
diff --git a/sources b/sources
new file mode 100644
index 0000000..b49cc91
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f18eca6522b438354be2378f216a5a94 mdurl-0.1.2.tar.gz