forked from pool/python-pydicom
- Update to version 0.9.9
+ Major changes / enhancements * All dicom dictionaries updated (standard dictionary, UID dictionary, and private dictionaries) * Dicom commands also added to dictionary * Ability to work with DICOMDIR: read_dicomdir() function and DicomDir class. Example file show_dicomdir.py file added to examples subdirectory. * codify.py: Produce python/pydicom source code from a dicom file. * a number of python 3 compatibility enhancements * setup.py uses ez_setup only if setuptools not already installed * exceptions carry tag info with them, to aid in debugging + Contrib file changes * pydicom_series: force parameter added (Nil Goyette) * dcm_qt_tree: switch to OrderedDict to preserve ordering of tags (Padraig Looney) - Rename package to python-dicom to python-pydicom to conform to python package naming policies. - spec file completely rewritten. - Remove unneeded python-dicom-remove-obsolete-distribute-support.patch - Update to version 0.9.8 + No changelog available - Add python-dicom-remove-obsolete-distribute-support.patch; setup script try to import setuptools from distribute - Require python-setuptools instead of distribute (upstreams merged) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydicom?expand=0&rev=1
This commit is contained in:
commit
6b38b7edb6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
60
license.txt
Normal file
60
license.txt
Normal file
@ -0,0 +1,60 @@
|
||||
License file for pydicom, a pure-python DICOM library
|
||||
|
||||
Copyright (c) 2008-2010 Darcy Mason and pydicom contributors
|
||||
|
||||
Except for portions outlined below, pydicom is released under an MIT license:
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
Portions of pydicom (private dictionary file(s)) were generated from the
|
||||
private dictionary of the GDCM library, released under the following license:
|
||||
|
||||
Program: GDCM (Grassroots DICOM). A DICOM library
|
||||
Module: http://gdcm.sourceforge.net/Copyright.html
|
||||
|
||||
Copyright (c) 2006-2010 Mathieu Malaterre
|
||||
Copyright (c) 1993-2005 CREATIS
|
||||
(CREATIS = Centre de Recherche et d'Applications en Traitement de l'Image)
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither name of Mathieu Malaterre, or CREATIS, nor the names of any
|
||||
contributors (CNRS, INSERM, UCB, Universite Lyon I), may be used to
|
||||
endorse or promote products derived from this software without specific
|
||||
prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
3
pydicom-0.9.9.tar.gz
Normal file
3
pydicom-0.9.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09b82896319d9b0e5e95dae64875c37413b6ca9b974f4bb785564875f617236a
|
||||
size 422348
|
49
python-pydicom.changes
Normal file
49
python-pydicom.changes
Normal file
@ -0,0 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 19:45:31 UTC 2016 - toddrme2178@gmail.com
|
||||
|
||||
- Update to version 0.9.9
|
||||
+ Major changes / enhancements
|
||||
* All dicom dictionaries updated (standard dictionary, UID
|
||||
dictionary, and private dictionaries)
|
||||
* Dicom commands also added to dictionary
|
||||
* Ability to work with DICOMDIR: read_dicomdir() function and
|
||||
DicomDir class. Example file show_dicomdir.py file added to
|
||||
examples subdirectory.
|
||||
* codify.py: Produce python/pydicom source code from a dicom
|
||||
file.
|
||||
* a number of python 3 compatibility enhancements
|
||||
* setup.py uses ez_setup only if setuptools not already
|
||||
installed
|
||||
* exceptions carry tag info with them, to aid in debugging
|
||||
+ Contrib file changes
|
||||
* pydicom_series: force parameter added (Nil Goyette)
|
||||
* dcm_qt_tree: switch to OrderedDict to preserve ordering of
|
||||
tags (Padraig Looney)
|
||||
- Rename package to python-dicom to python-pydicom to conform to python
|
||||
package naming policies.
|
||||
- spec file completely rewritten.
|
||||
- Remove unneeded python-dicom-remove-obsolete-distribute-support.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 17 17:34:04 UTC 2013 - p.drouand@gmail.com
|
||||
|
||||
- Update to version 0.9.8
|
||||
+ No changelog available
|
||||
- Add python-dicom-remove-obsolete-distribute-support.patch; setup
|
||||
script try to import setuptools from distribute
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 11:01:12 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Require python-setuptools instead of distribute (upstreams merged)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 17 21:15:59 UTC 2012 - scorot@free.fr
|
||||
|
||||
- fix build for SLE 11 x86_64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 7 13:23:47 UTC 2012 - toddrme2178@gmail.com
|
||||
|
||||
- Initial version
|
||||
|
66
python-pydicom.spec
Normal file
66
python-pydicom.spec
Normal file
@ -0,0 +1,66 @@
|
||||
#
|
||||
# spec file for package python-pydicom
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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-pydicom
|
||||
Version: 0.9.9
|
||||
Release: 0
|
||||
Summary: Pure python package for DICOM medical file reading and writing
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/darcymason/pydicom
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pydicom/pydicom-%{version}.tar.gz
|
||||
# This will be included in the tarball in the next release. It can be removed then.
|
||||
Source1: license.txt
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
Provides: python-dicom = %{version}
|
||||
Obsoletes: python-dicom < %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
pydicom is a pure python package for parsing DICOM files.
|
||||
|
||||
DICOM is a standard (http://medical.nema.org) for communicating
|
||||
medical images and related information such as reports
|
||||
and radiotherapy objects.
|
||||
|
||||
pydicom makes it easy to read these complex files into natural
|
||||
pythonic structures for easy manipulation.
|
||||
Modified datasets can be written again to DICOM format files.
|
||||
|
||||
%prep
|
||||
%setup -q -n pydicom-%{version}
|
||||
cp %{SOURCE1} ./
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc license.txt
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user