Bump to python3-pretend 1.0.9 accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_x tizen accepted/tizen/unified/20240627.103612 accepted/tizen/unified/dev/20240701.072646 accepted/tizen/unified/x/20240627.090228
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 8 Apr 2021 05:48:48 +0000 (14:48 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 8 Apr 2021 05:48:48 +0000 (14:48 +0900)
packaging/python3-pretend.manifest [new file with mode: 0644]
packaging/python3-pretend.spec [new file with mode: 0644]

diff --git a/packaging/python3-pretend.manifest b/packaging/python3-pretend.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-pretend.spec b/packaging/python3-pretend.spec
new file mode 100644 (file)
index 0000000..2c20f22
--- /dev/null
@@ -0,0 +1,36 @@
+Name:       python3-pretend
+Summary:    A library for stubbing in Python
+Version:    1.0.9
+Release:    0
+License:    BSD-3-Clause
+Group:      Development/Languages/Python
+Source0:    %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+
+BuildArch:      noarch
+
+%description
+Pretend is a library to make stubbing with Python easier.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%clean
+
+%files
+%manifest %{name}.manifest
+%license LICENSE.rst
+%{python3_sitelib}/__pycache__/*.cpython-*.pyc
+%{python3_sitelib}/pretend-%{version}-py%{python3_version}.egg-info/*
+%{python3_sitelib}/pretend.py