forked from pool/python-easypysmb
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 703f7f068b | |||
| bf9feb6064 | |||
| 1e539fffb0 | |||
| 7a59f8a2cd |
21
easypysmb-poetry-core.patch
Normal file
21
easypysmb-poetry-core.patch
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
From fa0d0b63e83a3accc0a3b58df8c8f4ca5a4ec472 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ben Greiner <code@bnavigator.de>
|
||||||
|
Date: Sun, 18 Jan 2026 15:17:48 +0100
|
||||||
|
Subject: [PATCH] Use poetry core
|
||||||
|
|
||||||
|
---
|
||||||
|
pyproject.toml | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index f13e818..0c5912f 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -12,5 +12,5 @@ pysmb = "^1.2.1"
|
||||||
|
[tool.poetry.dev-dependencies]
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
-requires = ["poetry>=0.12"]
|
||||||
|
-build-backend = "poetry.masonry.api"
|
||||||
|
+requires = ["poetry-core"]
|
||||||
|
+build-backend = "poetry.core.masonry.api"
|
||||||
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 18 14:21:40 UTC 2026 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Add easypysmb-poetry-core.patch and use poetry-core
|
||||||
|
* gh#pschmitt/easypysmb#67
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 16 02:38:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Use pyproject macros to build and install.
|
||||||
|
- List files explicitly under sitelib in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 8 17:07:28 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
Sat Aug 8 17:07:28 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-easypysmb
|
# spec file for package python-easypysmb
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2026 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-easypysmb
|
Name: python-easypysmb
|
||||||
Version: 1.4.4
|
Version: 1.4.4
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -26,7 +25,10 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/pschmitt/easypysmb
|
URL: https://github.com/pschmitt/easypysmb
|
||||||
Source: https://files.pythonhosted.org/packages/source/e/easypysmb/easypysmb-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/e/easypysmb/easypysmb-%{version}.tar.gz
|
||||||
Source99: https://raw.githubusercontent.com/pschmitt/easypysmb/master/LICENSE
|
Source99: https://raw.githubusercontent.com/pschmitt/easypysmb/master/LICENSE
|
||||||
BuildRequires: %{python_module setuptools}
|
# PATCH-FIX-UPSTREAM easypysmb-poetry-core.patch gh#pschmitt/easypysmb#67
|
||||||
|
Patch0: easypysmb-poetry-core.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module poetry-core}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pysmb
|
Requires: python-pysmb
|
||||||
@@ -38,19 +40,20 @@ BuildArch: noarch
|
|||||||
easypysmb is a Python library that wraps around the pysmb library.
|
easypysmb is a Python library that wraps around the pysmb library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n easypysmb-%{version}
|
%autosetup -p1 -n easypysmb-%{version}
|
||||||
cp %{S:99} .
|
cp %{S:99} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/easypysmb
|
||||||
|
%{python_sitelib}/easypysmb-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user