forked from pool/python-python-barcode
Accepting request 690790 from home:DocB:branches:devel:languages:python
- Verion 0.9 of python-barcode (fork of pyBarcode) initial OBS build OBS-URL: https://build.opensuse.org/request/show/690790 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-barcode?expand=0&rev=1
This commit is contained in:
commit
9c82c0b6db
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
|
3
_service
Normal file
3
_service
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<services>
|
||||||
|
|
||||||
|
<service name="download_files" mode="localonly" /></services>
|
3
python-barcode-0.9.0.tar.gz
Normal file
3
python-barcode-0.9.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a2f5c46d8db8a9113994e525c88105aca11c02c4c554c74aea4b38b702dc3c08
|
||||||
|
size 225848
|
5
python-python-barcode.changes
Normal file
5
python-python-barcode.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 25 16:28:57 UTC 2019 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
- Verion 0.9 of python-barcode (fork of pyBarcode)
|
||||||
|
initial OBS build
|
68
python-python-barcode.spec
Normal file
68
python-python-barcode.spec
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-python-barcode
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
# Copyright (c) 2019 Dr. Axel Braun
|
||||||
|
#
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
|
|
||||||
|
%define base_name python-barcode
|
||||||
|
Name: python-%{base_name}
|
||||||
|
BuildRequires: %{python_module Pillow}
|
||||||
|
BuildRequires: %{python_module pathlib}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Version: 0.9.0
|
||||||
|
Release: 0
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
|
||||||
|
Url: https://github.com/WhyNotHugo/%{base_name}
|
||||||
|
Summary: Library to create Barcodes with Python
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Library to create standard barcodes with Python. No external modules needed (optional PIL support included).
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{base_name}-%{version}
|
||||||
|
|
||||||
|
#remove unneeded files
|
||||||
|
##/usr/bin/rm doc/make.bat
|
||||||
|
##/usr/bin/rm doc/Makefile
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_exec test.py
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc docs/*
|
||||||
|
%license LICENCE
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{python_sitelib}/*
|
||||||
|
%python3_only %{_bindir}/python-barcode
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user