summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-26 16:23:46 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-26 16:23:46 +0000
commit7e1f49c050afe9a3c46cac81371525965147bfb1 (patch)
tree9e04accabc6301b2aa92d76776df1a7969cdf949
parent3d1e5575b16062eface11f6c80425be27edbbf37 (diff)
automatic import of python-editablesopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-editables.spec48
-rw-r--r--sources1
3 files changed, 50 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e46ca50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/editables-0.3.tar.gz
diff --git a/python-editables.spec b/python-editables.spec
new file mode 100644
index 0000000..00cf190
--- /dev/null
+++ b/python-editables.spec
@@ -0,0 +1,48 @@
+Name: python-editables
+Version: 0.3
+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
+
+%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
+%py3_build
+
+%install
+%py3_install
+
+%files -n python3-editables
+%doc README.md
+%license LICENSE.txt
+%{python3_sitelib}/editables
+%{python3_sitelib}/editables-%{version}*-info
+
+%changelog
+* 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..53e5d96
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e91709fbb0ef586cb7b785042068ab67 editables-0.3.tar.gz