From 5843a9a51a0359ffaf1a1070d87bab416bbb8d76 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Aug 13 2019 14:49:35 +0000 Subject: Merge #5 `bump to 0.13.0` --- diff --git a/.gitignore b/.gitignore index e1bdbaa..cd4d371 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gear-*.tar.gz +/0.13.0.tar.gz diff --git a/python-gear.spec b/python-gear.spec index 129e511..f575e97 100644 --- a/python-gear.spec +++ b/python-gear.spec @@ -2,13 +2,13 @@ %global srcname gear Name: python-%{srcname} -Version: 0.11.0 -Release: 9%{?dist} +Version: 0.13.0 +Release: 1%{?dist} Summary: Pure Python Async Gear Protocol Library License: ASL 2.0 -URL: https://github.com/openstack-infra/%{srcname} -Source0: http://tarballs.openstack.org/gear/gear-%{version}.tar.gz +URL: https://opendev.org/opendev/%{srcname} +source0: https://files.pythonhosted.org/packages/dd/5d/dd1f426dfb936bf5dadd4bbde6bc63a80de7035ea4eda1f97f705832c868/gear-0.13.0.tar.gz BuildArch: noarch @@ -41,6 +41,7 @@ Summary: %summary Requires: python3-extras Requires: python3-daemon Requires: python3-pbr +Requires: python3-six %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %_description @@ -67,6 +68,9 @@ PYTHON=%{__python3} %{__python3} setup.py testr %{python3_sitelib}/%{srcname}-*egg-info %changelog +* Tue Jul 30 2019 Fabien Boucher - 0.13.0-1 +- Update to 0.13.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.11.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 9c3d194..e9b0797 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gear-0.11.0.tar.gz) = 611f23fc2c45b227bd217778619a37c2d392dfc962751ac67ec6c4c41f19c1e3498adb95314843acf986130dfa0f48a0ff1007ceb85c01b48bc115c2eabd38b9 +SHA512 (gear-0.13.0.tar.gz) = 27817436b12db217a4b2fc8e9804921ae7aef46f125a17996c4889c109f681c7867e1356c6e971ed37bba7939df474042f98fa6546d1fc6fc29259d9cc0eeb17 diff --git a/tests/simple-test/runtest.sh b/tests/simple-test/runtest.sh new file mode 100644 index 0000000..90fa844 --- /dev/null +++ b/tests/simple-test/runtest.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# Include Beaker environment +. /usr/bin/rhts-environment.sh +. /usr/lib/beakerlib/beakerlib.sh + +PACKAGE="python3-gear" + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm $PACKAGE + rlPhaseEnd + + rlPhaseStartTest + rlRun "python3 -c 'import gear'" + rlPhaseEnd + +rlJournalPrintText +rlJournalEnd diff --git a/tests/simple-test/runtest.yml b/tests/simple-test/runtest.yml new file mode 100644 index 0000000..f02be80 --- /dev/null +++ b/tests/simple-test/runtest.yml @@ -0,0 +1,10 @@ +- hosts: '{{ hosts | default("localhost") }}' + vars: + package: python3-gear + tasks: + - name: Check if package exists + command: "rpm -q {{ package }}" + args: + warn: no + - name: Runtest + shell: "python3 -c 'import gear'" diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..014be7f --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,11 @@ +--- +- hosts: localhost + roles: + - role: standard-test-beakerlib + tags: + - classic + - atomic + tests: + - simple-test + required_packages: + - python3-gear