From a31a5fa37f8b1cf2ce6505c26c5b28d7b9f8656a Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Apr 16 2020 06:15:11 +0000 Subject: Initial import (#1824076) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3938a4e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/colorzero-1.1.tar.gz diff --git a/python-colorzero.spec b/python-colorzero.spec new file mode 100644 index 0000000..4ac9648 --- /dev/null +++ b/python-colorzero.spec @@ -0,0 +1,48 @@ +%global srcname colorzero + +Name: python-%{srcname} +Version: 1.1 +Release: 1%{?dist} +Summary: Yet another Python color library + +License: BSD +URL: https://github.com/waveform80/colorzero +Source0: %{url}/archive/release-%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%global _description %{expand: +Colorzero is a color manipulation library for Python (yes, another one) +which aims to be reasonably simple to use and "pythonic" in nature.} + +%description %_description + +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-pytest +BuildRequires: python3-setuptools + +%description -n python3-%{srcname} %_description + +%prep +%autosetup -n %{srcname}-release-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +%{python3} -m pytest + +%files -n python3-%{srcname} +%license LICENSE.txt +%doc README.rst +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{srcname}/ + +%changelog +* Sun Apr 12 2020 Tomas Hrnciar - 1.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..4da5b12 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (colorzero-1.1.tar.gz) = 81a613c1dac9d7bb685a486959215b5c1cc6417353f28fc13e47ac5f3d6c11fb530589a0a4242bcc4b9e4cd4c53e0c049dddaf697198493539071b2c2cb47359