#
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
#
Name     : py-helloworld
Version  : 1
Release  : 1
URL      : file://{}/tests/testfiles/py-helloworld.tar.gz
Source0  : file://{}/tests/testfiles/py-helloworld.tar.gz
Summary  : No detailed summary available
Group    : Development/Tools
License  : GPL-3.0
Requires: py-helloworld-python
Requires: python-mock
Requires: requests
Requires: six
BuildRequires : docutils
BuildRequires : pbr
BuildRequires : pip
BuildRequires : python-dev
BuildRequires : python-mock
BuildRequires : python3-dev
BuildRequires : requests
BuildRequires : setuptools
BuildRequires : six

%description
No detailed description available

%package python
Summary: python components for the py-helloworld package.
Group: Default

%description python
python components for the py-helloworld package.


%prep
%setup -q -n py-helloworld

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1
python2 setup.py build -b py2
python3 setup.py build -b py3

%install
export SOURCE_DATE_EPOCH=1
rm -rf %{buildroot}
python2 -tt setup.py build -b py2 install --root=%{buildroot} --force
python3 -tt setup.py build -b py3 install --root=%{buildroot} --force
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----

%files
%defattr(-,root,root,-)

%files python
%defattr(-,root,root,-)
/usr/lib/python2*/*
/usr/lib/python3*/*
