summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 13:29:19 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 13:29:19 +0000
commit1a75477b6c9d7dfb3b32388982d1f76bfff107a8 (patch)
tree25b9c934bef18b3aad80c60c25ce8f70274bb33e
parentf44dab92b7c212a43c979de417fccc9aad705abb (diff)
automatic import of python-lazr-uri
-rw-r--r--.gitignore1
-rw-r--r--python-lazr-uri.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7eca14d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lazr.uri-1.0.6.tar.gz
diff --git a/python-lazr-uri.spec b/python-lazr-uri.spec
new file mode 100644
index 0000000..ceb6301
--- /dev/null
+++ b/python-lazr-uri.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-lazr.uri
+Version: 1.0.6
+Release: 1
+Summary: A self-contained, easily reusable library for parsing, manipulating,
+License: LGPL v3
+URL: https://launchpad.net/lazr.uri
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a6/db/310eaccd3639f5a8a6011c3133bb1cac7fd80bb46f8a50406df2966302e4/lazr.uri-1.0.6.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-lazr.uri
+Summary: A self-contained, easily reusable library for parsing, manipulating,
+Provides: python-lazr.uri
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-lazr.uri
+
+
+%package help
+Summary: Development documents and examples for lazr.uri
+Provides: python3-lazr.uri-doc
+%description help
+
+
+%prep
+%autosetup -n lazr.uri-1.0.6
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-lazr.uri -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.6-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ab133ad
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+44c032bb0c78a6f249b8ae4b64bd6b4f lazr.uri-1.0.6.tar.gz