From 566592a58bb33453bbe0c2941abcef47547e251d Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Jun 11 2020 19:40:04 +0000 Subject: Merge branch 'epel8-playground' into epel8 --- diff --git a/.gitignore b/.gitignore index e69de29..f30583b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +colcon-bazel-0.1.0.tar.gz diff --git a/python-colcon-bazel.spec b/python-colcon-bazel.spec new file mode 100644 index 0000000..c6d9b46 --- /dev/null +++ b/python-colcon-bazel.spec @@ -0,0 +1,73 @@ +%global srcname colcon-bazel + +Name: python-%{srcname} +Version: 0.1.0 +Release: 2%{?dist} +Summary: Extension for colcon to support Bazel packages + +License: ASL 2.0 +URL: https://colcon.readthedocs.io +Source0: https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%description +An extension for colcon-core to support Bazel projects. + + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: %{summary} +BuildRequires: python%{python3_pkgversion}-colcon-argcomplete +BuildRequires: python%{python3_pkgversion}-colcon-core >= 0.3.9 +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-pyparsing +BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-setuptools >= 30.3.0 +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} + +%if %{undefined __pythondist_requires} +Requires: python%{python3_pkgversion}-colcon-core >= 0.3.9 +Requires: python%{python3_pkgversion}-colcon-library-path +Requires: python%{python3_pkgversion}-pyparsing +%endif # __pythondist_requires + +%description -n python%{python3_pkgversion}-%{srcname} +An extension for colcon-core to support Bazel projects. + + +%prep +%autosetup -p1 -n %{srcname}-%{version} + + +%build +%py3_build + + +%install +%py3_install + + +%check +%{__python3} -m pytest \ + --ignore=test/test_spell_check.py \ + --ignore=test/test_flake8.py \ + test + + +%files -n python%{python3_pkgversion}-%{srcname} +%license LICENSE +%doc README.md +%{python3_sitelib}/colcon_bazel/ +%{python3_sitelib}/colcon_bazel-%{version}-py%{python3_version}.egg-info/ + + +%changelog +* Thu Jun 06 2019 Scott K Logan - 0.1.0-2 +- Fix changelog version + +* Fri Apr 26 2019 Scott K Logan - 0.1.0-1 +- Rebuilt to change main python from 3.4 to 3.6 in EPEL 7 +- Handle automatic dependency generation (f30+) + +* Fri Nov 09 2018 Scott K Logan - 0.1.0-1 +- Initial package diff --git a/sources b/sources index e69de29..b05da9c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (colcon-bazel-0.1.0.tar.gz) = 27e36955561c777364ee2354c82fd02b3427163d7847ee256f9d4083c40afe675c03827d675bbe9a2be65a1da946069f7196c0af07758328378ff6e3e552b8f1