From: TizenOpenSource Date: Tue, 6 Feb 2024 02:23:29 +0000 (+0900) Subject: Bump to 2022.6.26 X-Git-Tag: accepted/tizen/base/20240328.043019^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_base;p=platform%2Fupstream%2Fpython3-calver.git Bump to 2022.6.26 Signed-off-by: TizenOpenSource --- diff --git a/packaging/python3-calver.manifest b/packaging/python3-calver.manifest new file mode 100644 index 0000000..86dbb26 --- /dev/null +++ b/packaging/python3-calver.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python3-calver.spec b/packaging/python3-calver.spec new file mode 100644 index 0000000..158e7d0 --- /dev/null +++ b/packaging/python3-calver.spec @@ -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