summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-26 08:04:11 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-26 08:04:11 +0000
commit91c76548f312107333d1119a2b7cc8e9e9efac72 (patch)
tree8dbee84427086af4a57d1ad81b16c80140adf77f
parent848b359b6490d77b7e6ee38ec72fd2165caadcb0 (diff)
automatic import of python-editablesopeneuler22.03_LTS_SP4openeuler22.03_LTS_SP3
-rw-r--r--.gitignore1
-rw-r--r--python-editables.spec54
-rw-r--r--sources1
3 files changed, 56 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..61f7fa8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/editables-0.5.tar.gz
diff --git a/python-editables.spec b/python-editables.spec
new file mode 100644
index 0000000..06f4c80
--- /dev/null
+++ b/python-editables.spec
@@ -0,0 +1,54 @@
+Name: python-editables
+Version: 0.5
+Release: 1
+Summary: Editable installations
+License: MIT
+URL: https://github.com/pfmoore/editables
+Source0: https://files.pythonhosted.org/packages/source/e/editables/editables-%{version}.tar.gz
+
+
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: dos2unix
+BuildRequires: fdupes
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-flit-core
+
+%global common_description %{expand:
+A Python library for creating “editable wheels”
+
+This library supports the building of wheels which, when installed, will expose
+packages in a local directory on sys.path in “editable mode”. In other words,
+changes to the package source will be reflected in the package visible to
+Python, without needing a reinstall.}
+
+%description %{common_description}
+
+%package -n python3-editables
+Summary: %{summary}
+
+%description -n python3-editables %{common_description}
+
+%prep
+%autosetup -n editables-%{version}
+dos2unix -c ascii README.md
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+
+%files -n python3-editables
+%doc README.md
+%license LICENSE.txt
+%{python3_sitelib}/*
+
+%changelog
+* Mon Dec 04 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.5-1
+- Update package to version 0.5
+
+* Thu Apr 13 2023 caodongxia <caodongxia@h-partners.com> - 0.3-1
+- Package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..cc089e5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+520de8c3a9dc5dfb2b365d104541c9de editables-0.5.tar.gz