معرفی شرکت ها


python-specfile-0.25.0-1.fc38.src.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 38
مخزن Fedora Everything noarch
نام بسته python-specfile
نام فایل بسته python-specfile-0.25.0-1.fc38.src.rpm
نسخه بسته 0.25.0
انتشار بسته 1.fc38
معماری بسته noarch
نگهدارنده -
تاریخ ساخت Mon 20 Nov 2023 08
هاست سازنده buildvm-a64-25.iad2.fedoraproject.org
نوع بسته .rpm
آدرس صفحه اصلی https://github.com/packit/specfile
مجوز MIT
حجم دانلود 138K
حجم نصب 107.727K
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.


جایگزین ها

بسته نسخه معماری مخزن
python-specfile-0.15.0-1.fc38.src.rpm 0.15.0 noarch Fedora Everything
python-specfile-0.28.2-1.fc38.src.rpm 0.28.2 noarch Fedora Everything


نیازمندی

مقدار نام
- (python3dist(tomli) if python3-devel < 3.11)
- git-core
- pyproject-rpm-macros
- python3-devel
- python3-devel
- python3dist(flexmock)
- python3dist(packaging)
>= 19 python3dist(pip)
- python3dist(pytest)
- python3dist(rpm)
>= 45 python3dist(setuptools)
- python3dist(setuptools-scm)
- python3dist(setuptools-scm[toml])
- python3dist(typing-extensions)
- python3dist(wheel)


ارائه دهنده

مقدار نام
= 0.25.0-1.fc38 python3-specfile


نحوه نصب


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

    dnf install python-specfile-0.25.0-1.fc38.src.rpm


فایل ها

مسیرها
python-specfile.spec


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

تاریخ آخرین تغییر جزئیات
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)