summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-inifix.spec30
-rw-r--r--sources2
3 files changed, 17 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index 514aa0a..774f27a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/inifix-4.3.2.tar.gz
+/inifix-4.4.0.tar.gz
diff --git a/python-inifix.spec b/python-inifix.spec
index 329bfb4..e5f574f 100644
--- a/python-inifix.spec
+++ b/python-inifix.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-inifix
-Version: 4.3.2
+Version: 4.4.0
Release: 1
Summary: I/O facility for Idefix/Pluto configuration files
License: GPL-3.0
URL: https://github.com/neutrinoceros/inifix
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/76/ab/5944e99fc27eea171b392dba2c3da266d1fa3278e7ed2f83519f53460993/inifix-4.3.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/e5/e5/141211215a2ab5e0d67d5bd3da2502c302d4dd6fa4d66c4b83756e2d9041/inifix-4.4.0.tar.gz
BuildArch: noarch
Requires: python3-more-itertools
@@ -17,12 +17,12 @@ Requires: python3-more-itertools
[![PyPI](https://img.shields.io/badge/requires-Python%20≥%203.8-blue?logo=python&logoColor=white)](https://pypi.org/project/inifix/)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/neutrinoceros/inifix/main.svg)](https://results.pre-commit.ci/badge/github/neutrinoceros/inifix/main.svg)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
-[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
+[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/charliermarsh/ruff)
`inifix` is a small Python library of I/O functions to read and write 'ini'
configuration files in the style of [Pluto](http://plutocode.ph.unito.it) and
-[Idefix](https://gricad-gitlab.univ-grenoble-alpes.fr/lesurg/idefix-public).
+[Idefix](https://github.com/idefix-code/idefix).
While its primary goal is to follow Idefix's 'ini' format specification, it
supports a small superset of it.
@@ -287,12 +287,12 @@ BuildRequires: python3-pip
[![PyPI](https://img.shields.io/badge/requires-Python%20≥%203.8-blue?logo=python&logoColor=white)](https://pypi.org/project/inifix/)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/neutrinoceros/inifix/main.svg)](https://results.pre-commit.ci/badge/github/neutrinoceros/inifix/main.svg)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
-[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
+[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/charliermarsh/ruff)
`inifix` is a small Python library of I/O functions to read and write 'ini'
configuration files in the style of [Pluto](http://plutocode.ph.unito.it) and
-[Idefix](https://gricad-gitlab.univ-grenoble-alpes.fr/lesurg/idefix-public).
+[Idefix](https://github.com/idefix-code/idefix).
While its primary goal is to follow Idefix's 'ini' format specification, it
supports a small superset of it.
@@ -554,12 +554,12 @@ Provides: python3-inifix-doc
[![PyPI](https://img.shields.io/badge/requires-Python%20≥%203.8-blue?logo=python&logoColor=white)](https://pypi.org/project/inifix/)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/neutrinoceros/inifix/main.svg)](https://results.pre-commit.ci/badge/github/neutrinoceros/inifix/main.svg)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
-[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
+[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/charliermarsh/ruff)
`inifix` is a small Python library of I/O functions to read and write 'ini'
configuration files in the style of [Pluto](http://plutocode.ph.unito.it) and
-[Idefix](https://gricad-gitlab.univ-grenoble-alpes.fr/lesurg/idefix-public).
+[Idefix](https://github.com/idefix-code/idefix).
While its primary goal is to follow Idefix's 'ini' format specification, it
supports a small superset of it.
@@ -812,7 +812,7 @@ $ pytest
%prep
-%autosetup -n inifix-4.3.2
+%autosetup -n inifix-4.4.0
%build
%py3_build
@@ -826,20 +826,20 @@ 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 .
@@ -852,5 +852,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 4.3.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 4.4.0-1
- Package Spec generated
diff --git a/sources b/sources
index 975c5b0..e4682a9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-30d3f8850a8f7a89764a5192c550c4b2 inifix-4.3.2.tar.gz
+6a69467c5971f9fe41cf9fd60499b6af inifix-4.4.0.tar.gz