]> git.pld-linux.org Git - packages/python3-sgmllib.git/commitdiff
new auto/th/python3-sgmllib-1.0.0-1
authorJan Palus <atler@pld-linux.org>
Thu, 11 Mar 2021 10:51:58 +0000 (11:51 +0100)
committerJan Palus <atler@pld-linux.org>
Thu, 11 Mar 2021 10:51:58 +0000 (11:51 +0100)
python3-sgmllib.spec [new file with mode: 0644]

diff --git a/python3-sgmllib.spec b/python3-sgmllib.spec
new file mode 100644 (file)
index 0000000..d6088ab
--- /dev/null
@@ -0,0 +1,40 @@
+%define                module          sgmllib
+%define                pypi_name       sgmllib3k
+
+Summary:       Py3k port of sgmllib
+Name:          python3-%{module}
+Version:       1.0.0
+Release:       1
+License:       BSD
+Group:         Libraries/Python
+Source0:       https://pypi.python.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+# Source0-md5: d70efde06e40797f37e867123aa080ec
+URL:           https://pypi.org/project/sgmllib3k/
+BuildRequires: python3-modules
+BuildRequires: python3-setuptools
+BuildRequires: rpm-pythonprov
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Py3k port of sgmllib.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -n python3-%{module}
+%defattr(644,root,root,755)
+%{py3_sitescriptdir}/%{module}.py
+%{py3_sitescriptdir}/__pycache__/%{module}.cpython-*.pyc
+%{py3_sitescriptdir}/%{pypi_name}-*.egg-info
This page took 0.090518 seconds and 4 git commands to generate.