معرفی شرکت ها


python3-specfile-0.25.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.25.0-1.fc37.noarch.rpm
نسخه بسته 0.25.0
انتشار بسته 1.fc37
معماری بسته noarch
نگهدارنده -
تاریخ ساخت Mon 20 Nov 2023 08
هاست سازنده buildvm-s390x-26.s390.fedoraproject.org
نوع بسته .rpm
آدرس صفحه اصلی https://github.com/packit/specfile
مجوز MIT
حجم دانلود 167K
حجم نصب 553.094K
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.15.0-1.fc37.noarch.rpm 0.15.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)
- python3.11dist(typing-extensions)


ارائه دهنده

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


نحوه نصب


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

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


فایل ها

مسیرها
/usr/lib/python3.11/site-packages/specfile
/usr/lib/python3.11/site-packages/specfile-0.25.0.dist-info
/usr/lib/python3.11/site-packages/specfile-0.25.0.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/specfile-0.25.0.dist-info/LICENSE
/usr/lib/python3.11/site-packages/specfile-0.25.0.dist-info/METADATA
/usr/lib/python3.11/site-packages/specfile-0.25.0.dist-info/WHEEL
/usr/lib/python3.11/site-packages/specfile-0.25.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__/conditions.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/conditions.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__/types.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/specfile/__pycache__/types.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
... and 21 more


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

تاریخ آخرین تغییر جزئیات
2023-11-20

There is a new method, `Specfile.update_version()`, that allows updating spec file version even if it is a pre-release. (#317)

2023-11-06

Improved type annotations for `UserList` subclasses. (#299)
Macro definitions gained a new `commented_out` property indicating that a macro definition is commented out. Another new property, `comment_out_style`, determines if it is achieved by using a `%dnl` (discard next line) directive (e.g. `%dnl %global prerelease beta2`) or by replacing the starting `%` with `#` (e.g. `#global prerelease beta2`). (#298)

2023-10-30

Sources now have a `valid` property that indicates whether a source is valid in the current context, meaning it is not present in a false branch of any condition. (#295)

2023-10-06

Removed dependency on setuptools-scm-git-archive. (#290)

2023-09-01

Macro definitions and tags gained a new `valid` attribute. A macro definition/tag is considered valid if it doesn't appear in a false branch of any condition appearing in the spec file. (#276)

2023-08-11

`specfile` no longer tracebacks when some sources are missing and can't be _emulated_. In such case the spec file is parsed without them at the cost of `%setup` and `%patch` macros potentially expanding differently than with the sources present. (#271)
Specfile's license in RPM spec file is now confirmed to be SPDX compatible. (#269)

2023-07-31

Fixed Packit config to work properly with `propose-downstream` and `pull-from-upstream` jobs. (#261)

2023-07-13

Fixed infinite loop when removing macros with `%` in the name. (#244)
Added a possibility to undefine system macros by setting a macro value to `None` in the `macros` argument of the `Specfile` constructor. (#244)
Fixed a bug in processing options of `%prep` macros. For instance, when a quoted string appeared inside an expression expansion, it could lead to improper parsing, rendering the spec file invalid after accessing the options. (#253)

2023-06-22

Parsing has been optimized so that even spec files with hundreds of thousands of lines can be processed in reasonable time. (#240)

2023-05-26

Specfile library now handles multiple `%changelog` sections. (#230)

2023-05-11

Added a new `guess_packager()` function that uses similar heuristics as `rpmdev-packager`, meaning that the `Specfile.add_changelog_entry()` method no longer requires `rpmdev-packager` to guess the changelog entry author. (#220)
The `Specfile.add_changelog_entry()` method now uses dates based on UTC instead of the local timezone. (#223)

2023-04-20

Added `Specfile.has_autorelease` property to detect if a spec file uses the `%autorelease` macro. (#221)

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)