Bump to 2022.6.26 accepted/tizen_9.0_base accepted/tizen_base accepted/tizen_base_asan accepted/tizen_base_dev accepted/tizen_base_toolchain accepted/tizen_base_x accepted/tizen_base_x_asan sandbox/python3-calver_2022.6.26 tizen tizen_9.0_base tizen_base accepted/tizen/9.0/base/20241030.075248 accepted/tizen/base/20240328.043019 accepted/tizen/base/asan/20240406.082231 accepted/tizen/base/dev/20241206.041139 accepted/tizen/base/toolchain/20240424.234605 accepted/tizen/base/x/20240328.090013 accepted/tizen/base/x/asan/20240412.002612 tizen_9.0_m2_release
authorTizenOpenSource <tizenopensrc@samsung.com>
Tue, 6 Feb 2024 02:23:29 +0000 (11:23 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Tue, 6 Feb 2024 02:23:29 +0000 (11:23 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/python3-calver.manifest [new file with mode: 0644]
packaging/python3-calver.spec [new file with mode: 0644]

diff --git a/packaging/python3-calver.manifest b/packaging/python3-calver.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-calver.spec b/packaging/python3-calver.spec
new file mode 100644 (file)
index 0000000..158e7d0
--- /dev/null
@@ -0,0 +1,34 @@
+Name:           python3-calver
+Version:        2022.6.26
+Release:        0
+Summary:        Setuptools extension for CalVer package versions
+License:        Apache-2.0
+URL:            https://github.com/di/calver
+Source0:        calver-%{version}.tar.gz
+Source1001:     %{name}.manifest
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+
+BuildArch:      noarch
+
+%description
+Build will invoke the PEP 517 hooks to build a distribution package.
+It is a simple build tool and does not perform any dependency management.
+
+%prep
+%setup -q -n calver-%{version}
+
+%build
+cp %{SOURCE1001} .
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm -f %{buildroot}%{python3_sitelib}/build/py.typed
+
+%files 
+%license LICENSE
+%{python3_sitelib}/calver/*.py
+%{python3_sitelib}/calver/__pycache__/*
+%{python3_sitelib}/calver-%{version}-py%{python3_version}.egg-info