summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 20:44:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 20:44:07 +0000
commit9d6511e41557e46a0db6a450ff1cf62cd478a384 (patch)
treebe4a4665cb37b5c6efdb4828bfa75c426fd77f0d
parent8c5363307a31ebe5dd0ed7c36dbb6a58c14d70ad (diff)
automatic import of python-sorted-nearestopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-sorted-nearest.spec38
-rw-r--r--sources2
3 files changed, 25 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index 2170d6c..47b3e7d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/sorted_nearest-0.0.38.tar.gz
+/sorted_nearest-0.0.39.tar.gz
diff --git a/python-sorted-nearest.spec b/python-sorted-nearest.spec
index 41faa14..c4052ff 100644
--- a/python-sorted-nearest.spec
+++ b/python-sorted-nearest.spec
@@ -1,23 +1,31 @@
%global _empty_manifest_terminate_build 0
Name: python-sorted-nearest
-Version: 0.0.38
+Version: 0.0.39
Release: 1
-Summary: Find nearest interval.
-License: New BSD License
-URL: https://github.com/endrebak/sorted_nearest
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/83/6f/af902f554844c0dc8929ced0b3a20a699fe7d77a87559ffafe26cd4c1f27/sorted_nearest-0.0.38.tar.gz
-BuildArch: noarch
+Summary: Find nearest intervals.
+License: MIT
+URL: http://github.com/pyranges/sorted_nearest
+Source0: https://mirrors.aliyun.com/pypi/web/packages/6d/5b/c94b5c454664cf3588e9c61f9a2057a3328ab3f53f7bd971fb7b6429ab59/sorted_nearest-0.0.39.tar.gz
+Requires: python3-numpy
+Requires: python3-black
+Requires: python3-bumpver
+Requires: python3-isort
+Requires: python3-pip-tools
+Requires: python3-pytest
%description
%package -n python3-sorted-nearest
-Summary: Find nearest interval.
+Summary: Find nearest intervals.
Provides: python-sorted-nearest
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
%description -n python3-sorted-nearest
@@ -28,7 +36,7 @@ Provides: python3-sorted-nearest-doc
%prep
-%autosetup -n sorted-nearest-0.0.38
+%autosetup -n sorted_nearest-0.0.39
%build
%py3_build
@@ -42,31 +50,31 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
- find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
- find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
- find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
- find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
- find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-sorted-nearest -f filelist.lst
-%dir %{python3_sitelib}/*
+%dir %{python3_sitearch}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
-* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.38-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.39-1
- Package Spec generated
diff --git a/sources b/sources
index 962068d..097dddb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f444a22486c57d7b9fb394bf13a9fbf8 sorted_nearest-0.0.38.tar.gz
+86be78556e7aecfb7587c3c5a9f7c082 sorted_nearest-0.0.39.tar.gz