15
0
forked from pool/python-param

Accepting request 727287 from home:TheBlackCat:branches:devel:languages:python

Include a .version file.  Other packages need this to determine this package's version.

OBS-URL: https://build.opensuse.org/request/show/727287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=23
This commit is contained in:
Todd R
2019-08-30 16:21:49 +00:00
committed by Git OBS Bridge
parent fd82fde285
commit 8663a70222
3 changed files with 9 additions and 0 deletions

1
python-param-rpmlintrc Normal file
View File

@@ -0,0 +1 @@
addFilter("hidden-file-or-dir .*/site-packages/param/\.version")

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 30 15:53:14 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Include a .version file. Other packages need this to determine
this package's version.
-------------------------------------------------------------------
Mon Jun 3 10:57:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -25,6 +25,7 @@ License: BSD-3-Clause
Group: Development/Languages/Python
URL: http://param.pyviz.org/
Source0: https://github.com/ioam/param/archive/v%{version}.tar.gz
Source100: python-param-rpmlintrc
BuildRequires: %{python_module nose}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module setuptools}
@@ -48,6 +49,7 @@ as part of other projects.
%prep
%setup -q -n param-%{version}
sed -i -e 's:version=get_setup_version("param"):version="%{version}":g' setup.py
echo '{"git_describe": "v%{version}", "version_string": "%{version}"}' > param/.version
%build
%python_build