commit b4a14f84f7477ce00ae8149d2feb30ae06f9b46bd9a98cb19eae14790084d190 Author: Dirk Mueller Date: Fri Feb 26 13:56:57 2016 +0000 Accepting request 361805 from home:tbechtold:branches:devel:languages:python Rename python-jenkins to python-python-jenkins OBS-URL: https://build.opensuse.org/request/show/361805 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jenkins?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-jenkins-0.4.12.tar.gz b/python-jenkins-0.4.12.tar.gz new file mode 100644 index 0000000..f24ccac --- /dev/null +++ b/python-jenkins-0.4.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:673868980f4b2312447843a86b61e18777a16a1adf5eb9cdfd56cbbfa3e50ee4 +size 43246 diff --git a/python-python-jenkins.changes b/python-python-jenkins.changes new file mode 100644 index 0000000..992abd2 --- /dev/null +++ b/python-python-jenkins.changes @@ -0,0 +1,149 @@ +------------------------------------------------------------------- +Fri Feb 26 13:43:02 UTC 2016 - tbechtold@suse.com + +- Rename python-jenkins to python-python-jenkins. It's openSUSE + policy to use python-$pypi name. + +------------------------------------------------------------------- +Sun Jan 3 09:23:02 UTC 2016 - tbechtold@suse.com + +- update to 0.4.12: + * Drop py33 support + * Fixed create_node() Error + * Deprecated tox -downloadcache option removed + * Use TestWithScenarios to add additional url tests + * Change repositories from stackforge to openstack + * Update .gitreview for new namespace + +------------------------------------------------------------------- +Fri Oct 30 14:32:03 UTC 2015 - tbechtold@suse.com + +- update to 0.4.11: + * Handle depth errors in get_running_builds + * Use str as base class for PluginVersion + * Support ability to install plugins + * Provider helper classes for plugin data management + * Allow setting the next build number + * Adds Cloudbees folder plugin support + * Add function to get running builds + * Change order of tox envs for testr + * Add support for quiet down + * fix get version example + * remove support for python 2.6 + * Separate tests in separate files and classes + * Create module member index from autodoc + * Fix timeout function and add capturing of messages on failure + * Stop specifying requirements.txt in tox.ini + * Wrap url building with helper method + * Rework the examples + * Add socket timeout tests and helpers +- adjust Requires according to requirements.txt + +------------------------------------------------------------------- +Tue Aug 4 15:00:20 UTC 2015 - tbechtold@suse.com + +- Add COPYING and README.rst as %doc files + +------------------------------------------------------------------- +Fri Jul 31 04:55:19 UTC 2015 - tbechtold@suse.com + +- update to 0.4.8: + * Fix tests on python 2.6 and mark as deprecated + * Remove unneeded wrapping of imports + * Support scriptText api to execute groovy scripts on the server + * Creates ability to work with views in jenkins + * fix passing of byte object to url request method + * requirements: pin pbr>=0.8.2,<2.0 + * Ensure request data is in the correct format + * Ensure data is utf-8 encoded + * Modify tests to exercise Request on python3 + * Add decode to utf8 for python 3.x + * Fix examples + * Add utf8 to headers + * Add a get_nodes method + +------------------------------------------------------------------- +Wed Mar 11 11:39:12 UTC 2015 - tbechtold@suse.com + +- update to 0.4.5: + * Add get_job_info_regex method to get info about a set of jobs + * Set the server connection timeout to same as socket timeout + * Consolidate raising identical exceptions + * Add a jobs_count method + * Doc Update: Fix formatting for inclusion of README.rst + * Doc Change: update supported python versions + * Add BadHTTPException + * Fix incorrect indentation + * Don't return None on unhandled http errors + * Use empty crumb on empty response + * Don't assume we get a valid response + * Update and clean up docs + * Add a default http timeout for connections to jenkins + * Eliminate redundant calls to assert_job_exists() + * Raise an exception on 404 + * testtools requires unittest2 + * Fix cancel_queue() method + * Fix enable_node and disable_node methods + * Handle job and node names that contain spaces + * Workflow documentation is now in infra-manual + * fix typo, must be 'classifier' to appear on pypi.python.org + * Yield HTTPError reason on open error + * fix auth with long username or password + * Add a readme and make it appear on pypi.python.org + * Add get_plugins_info and get_plugin_info methods + * generate a code coverage html report + * add get_version method + * exclude tests from code coverage report + * Setup pbr versioning for docs + * Support node configuration + * Fix it so build_job triggers a build + * Rename doc environment to docs + * Enabled hacking check H404 + * Add MANIFEST.in + * Six is a runtime requirement not a test req + * Update version info + * Fix `tox -e doc` duplicate id error + * Use pbr, pep8 checks & fixes, add "doc" tox target + * make JSON depth response configurable + * Add a gitreview file + * Adds assert_node_exists() + * Speed up job existence tests by fetching less info + * Fix remaining PEP8 errors in docstrings + * Fix hacking docstring warnings + * Make it work on Python 3 + * 100% test coverage + * Add support for measuring coverage + * Support node startup with the JNLP Launcher + * Add .gitignore + * Clarify job_exists() error messages + * Doc fixes + * Wrap tests and linting with tox + * David Strauss 2014-03-06 Fedora 19+ has packages, too + * Fedora 19+ has packages, too + * [soren] Add fixes for crumb addition to post requests + * Add bug metadata + * Change method name to reflect behaviour + * Recycle crumb. Apparently, it's not a nonce + * Attempt to fetch a crumb (needed if CSRF protection is enabled) + * Release 0.2.1 + * speed up job existence test by fetching less informations + * Add rename_job() + * speed up job existence test by fetching less informations + * Add rename_job() + * Add ability to fetch raw console text for build + * Antoine Musso: + * overhaul the sphinx documentation + * pass pep8 on all files + * Add support for a rename_job() call + * Merged new node management features including using SSH and + Windows slaves plus cancel job/queue methods + * Add additional methods: + * Merged bug fix and tests for job names with spaces + * Open for 0.3 development +- update Requires + +------------------------------------------------------------------- +Mon Apr 21 14:10:30 UTC 2014 - thomasbechtold@jpberlin.de + +- Initial packaging of python-jenkins. + diff --git a/python-python-jenkins.spec b/python-python-jenkins.spec new file mode 100644 index 0000000..e72fb46 --- /dev/null +++ b/python-python-jenkins.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-jenkins +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2014 Thomas Bechtold +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: python-python-jenkins +Version: 0.4.12 +Release: 0 +Summary: Python bindings for the remote Jenkins API +License: BSD-3-Clause +Group: Development/Languages/Python +Url: http://launchpad.net/python-jenkins +Source: https://pypi.python.org/packages/source/p/python-jenkins/python-jenkins-%{version}.tar.gz +BuildRequires: python-devel +BuildRequires: python-pbr +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else +BuildArch: noarch +%endif +Requires: python-multi_key_dict +Requires: python-six >= 1.3.0 +Provides: python-jenkins = %{version} +Obsoletes: python-jenkins < %{version} + +%description +This package provides Python bindings for the Jenkins Remote +API. It current supports management of: + * Project configuration + * Build control + * Slave node configuration + +%prep +%setup -q -n python-jenkins-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%doc COPYING README.rst +%{python_sitelib}/* + +%changelog