forked from pool/python-standard-xdrlib
I would like to submit "new" package to d:l:p and further to Factory/TW.
We need it for nfs testing by pynfs (not in distro yet). xdrlib was part of standard python, but it is not in 3.13 anymore. Pynfs developers recommends pin installation of xdrlib3 or for Debian python3-standard-xdrlib. I decided to avoid using pip during test run time and I created new package from python dead libs. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-standard-xdrlib?expand=0&rev=1
This commit is contained in:
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
|
4
python-standard-xdrlib.changes
Normal file
4
python-standard-xdrlib.changes
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 9 06:22:26 UTC 2025 - Petr Cervinka <pcervinka@suse.com>
|
||||
|
||||
- Initial version
|
57
python-standard-xdrlib.spec
Normal file
57
python-standard-xdrlib.spec
Normal file
@@ -0,0 +1,57 @@
|
||||
#
|
||||
# spec file for package python-standard-xdrlib
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: python-standard-xdrlib
|
||||
Version: 3.13.0
|
||||
Release: 0
|
||||
Summary: Standard library xdrlib redistribution. "dead battery"
|
||||
License: Python-2.0
|
||||
URL: https://github.com/youknowone/python-deadlib
|
||||
Source: https://files.pythonhosted.org/packages/source/s/standard_xdrlib/standard_xdrlib-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 75.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module testsuite}
|
||||
BuildRequires: fdupes
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Standard library xdrlib redistribution. "dead battery".
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n standard_xdrlib-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/xdrlib
|
||||
%{python_sitelib}/standard_xdrlib-%{version}.dist-info
|
||||
|
||||
%changelog
|
3
standard_xdrlib-3.13.0.tar.gz
Normal file
3
standard_xdrlib-3.13.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92db79aa6f1565c483a5ef73cb367a2b8b4a45130e4a2b95e96fe2c4319bcd55
|
||||
size 5017
|
Reference in New Issue
Block a user