معرفی شرکت ها


python-specfile-0.28.2-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.28.2-1.fc38.src.rpm
نسخه بسته 0.28.2
انتشار بسته 1.fc38
معماری بسته noarch
نگهدارنده -
تاریخ ساخت Mon 08 Apr 2024 09
هاست سازنده buildvm-a64-07.iad2.fedoraproject.org
نوع بسته .rpm
آدرس صفحه اصلی https://github.com/packit/specfile
مجوز MIT
حجم دانلود 144K
حجم نصب 113.617K
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.25.0-1.fc38.src.rpm 0.25.0 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.28.2-1.fc38 python3-specfile


نحوه نصب


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

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


فایل ها

مسیرها
python-specfile.spec


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

تاریخ آخرین تغییر جزئیات
2024-04-08

Handling of trailing newlines in the macro defintions has been improved. (#361)
Resolves: rhbz#2271583

2024-03-26

We have fixed an issue in `%prep` section processing. For instance, if the `%patches` macro appeared there, it would have been converted to `%patch es`, causing failure when executing `%prep` later. (#356)

2024-03-17

A trailing newline is no longer added to spec files without one upon saving. (#353)

2024-01-19

Improved handling of commented-out macro definitions and fixed related logic in `Specfile.update_value()`. (#338)

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)