معرفی شرکت ها


python3-specfile-0.15.0-1.fc37.noarch.rpm


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A library for parsing and manipulating RPM spec files
ویژگی مقدار
سیستم عامل Linux
توزیع Fedora 37
مخزن Fedora Everything noarch
نام بسته python3-specfile
نام فایل بسته python3-specfile-0.15.0-1.fc37.noarch.rpm
نسخه بسته 0.15.0
انتشار بسته 1.fc37
معماری بسته noarch
نگهدارنده -
تاریخ ساخت Mon 13 Mar 2023 10
هاست سازنده buildvm-x86-16.iad2.fedoraproject.org
نوع بسته .rpm
آدرس صفحه اصلی https://github.com/packit/specfile
مجوز MIT
حجم دانلود 148K
حجم نصب 493.273K
Python library for parsing and manipulating RPM spec files. Main focus is on modifying existing spec files, any change should result in a minimal diff.


جایگزین ها

بسته نسخه معماری مخزن
python3-specfile-0.25.0-1.fc37.noarch.rpm 0.25.0 noarch Fedora Everything
python3-specfile-0.6.0-1.fc37.noarch.rpm 0.6.0 noarch Fedora Everything


نیازمندی

مقدار نام
= 3.11 python(abi)
- python3.11dist(rpm)


ارائه دهنده

مقدار نام
= 0.15.0-1.fc37 python-specfile
= 0.15.0-1.fc37 python3-specfile
= 0.15.0-1.fc37 python3.11-specfile
= 0.15 python3.11dist(specfile)
= 0.15 python3dist(specfile)


نحوه نصب


نصب پکیج rpm python3-specfile:

    dnf install python3-specfile-0.15.0-1.fc37.noarch.rpm


فایل ها

مسیرها
/usr/lib/python3.11/site-packages/specfile
/usr/lib/python3.11/site-packages/specfile-0.15.0.dist-info
/usr/lib/python3.11/site-packages/specfile-0.15.0.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/specfile-0.15.0.dist-info/LICENSE
/usr/lib/python3.11/site-packages/specfile-0.15.0.dist-info/METADATA
/usr/lib/python3.11/site-packages/specfile-0.15.0.dist-info/WHEEL
/usr/lib/python3.11/site-packages/specfile-0.15.0.dist-info/top_level.txt
/usr/lib/python3.11/site-packages/specfile/__init__.py
/usr/lib/python3.11/site-packages/specfile/__pycache__
/usr/lib/python3.11/site-packages/specfile/__pycache__/__init__.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/changelog.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/changelog.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/constants.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/constants.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/context_management.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/context_management.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/exceptions.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/exceptions.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/formatter.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/formatter.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/macro_definitions.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/macro_definitions.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/macros.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/macros.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/options.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/options.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/prep.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/prep.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/sections.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/sections.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/sourcelist.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/sourcelist.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/sources.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/sources.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/spec_parser.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/spec_parser.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/specfile.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/specfile.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/tags.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/tags.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/utils.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/utils.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/value_parser.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/value_parser.cpython-311.pyc
/usr/lib/python3.11/site-packages/specfile/changelog.py
/usr/lib/python3.11/site-packages/specfile/constants.py
/usr/lib/python3.11/site-packages/specfile/context_management.py
/usr/lib/python3.11/site-packages/specfile/exceptions.py
/usr/lib/python3.11/site-packages/specfile/formatter.py
... and 15 more


گزارش تغییرات

تاریخ آخرین تغییر جزئیات
2023-03-10

Parsing the spec file by RPM is now performed only if really necessary, greatly improving performance in certain scenarios. (#212)
Checked that license is a valid SPDX license.

2023-02-23

Fixed a bug that broke parsing in case spec file contained conditionalized macro definitions or similar constructs. (#209)
Specfile no longer depends on rpm-py-installer, it now depends directly on rpm. (#207)

2023-01-30

Fixed infinite loop that occured when section options were followed by whitespace. (#197)

2023-01-23

Fixed a bug in section parsing that caused sections to be ignored when there were macro definitions spread across the spec file and not cumulated at the top. (#191)

2023-01-20

Added `Section.options` attribute for convenient manipulation of section options. (#183)
specfile now supports single-line sections where section content is represented by a macro starting with a newline. (#182)
Added `evr` argument to `Specfile.add_changelog_entry()`. This allows adding a changelog entry with an EVR value that's different from the current specfile's value. This makes it easier to reconstruct a specfile's `%changelog` based on another source using the higher level interface. (#181)

2023-01-06

All classes including `Specfile` itself can now be copied using the standard `copy()` and `deepcopy()` functions from `copy` module. (#176)
`Section.name` attribute has been renamed to a more fitting `Section.id`. (#167)
`setup.cfg` now uses `license_files` instead of deprecated `license_file`. (#162)

2022-12-14

Tags enclosed in conditional macro expansions are not ignored anymore. (#156)
Fixed context managers being shared between Specfile instances. (#157)

2022-12-09

Context managers (`Specfile.sections()`, `Specfile.tags()` etc.) can now be nested and combined together (with one exception - `Specfile.macro_definitions()`), and it is also possible to use tag properties (e.g. `Specfile.version`, `Specfile.license`) inside them. It is also possible to access the data directly, avoiding the `with` statement, by using the `content` property (e.g. `Specfile.tags().content`), but be aware that no modifications done to such data will be preserved. You must use `with` to make changes. (#153)

2022-11-30

Fixed an issue that caused empty lines originally inside changelog entries to appear at the end. (#140)
Renamed the `ignore_missing_includes` option to a more general `force_parse`. If specified, it allows to attempt to parse the spec file even if one or more sources required to be present at parsing time are not available. Such sources include sources referenced from shell expansions in tag values and sources included using the `%include` directive. (#137)

2022-11-12

`specfile` now supports localized tags (e.g. `Summary(fr)`) and tags with qualifiers (e.g. `Requires(post)`).

2022-10-25

Added utility classes for working with (N)EVR. (#113)
Fixed an issue with multiple instances of `Specfile` not expanding macros in the right context. (#117)

2022-10-14

Added `Specfile.update_tag()` method that allows updating tag values while trying to preserve macro expansions. You can watch a demo on [YouTube](https://youtu.be/yzMfBPdFXZY). (#101)

2022-10-07

It is now possible to filter changelog entries by specifying lower bound EVR, upper bound EVR or both. (#104)
Added support for filenames specified in source URL fragments, for example: `https://example.com/foo/1.0/download.cgi#/python-specfile-0.15.0.tar.gz` (#100)

2022-08-25

Switched to our own implementation of working with `%changelog` timestamps and removed dependency on arrow (#88)
Fixed requires of EPEL 8 rpm (#86)

2022-08-10

Added new `%conf` section (#74)
Switched to rpm-py-installer (#75)
Fixed detecting extended timestamp format in `%changelog` (#77, #81)

2022-07-22

Strict optional typing is now enforced (#68)
Fixed deduplication of tag names (#69)
Sources and patches can now be removed by number (#69)
Number of digits in a source number is now expressed the same way as packit does it (#69)
Empty lines are now compressed when deleting tags (#69)
Added convenience property for getting texts of tag comments (#69)
Added convenience method for adding a patch (#69)