Skip to content

SPECS: add pytokens#26

Open
kenlig wants to merge 1 commit intoopenRuyi-Project:mainfrom
kenlig:add-pytokens
Open

SPECS: add pytokens#26
kenlig wants to merge 1 commit intoopenRuyi-Project:mainfrom
kenlig:add-pytokens

Conversation

@kenlig
Copy link
Copy Markdown
Contributor

@kenlig kenlig commented Mar 31, 2026

No description provided.

Comment on lines +48 to +50
%install
%pyproject_install
%pyproject_save_files -l %{srcname}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Comment on lines +44 to +46
%build
export PYTOKENS_USE_MYPYC=0
%pyproject_wheel
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
%build
export PYTOKENS_USE_MYPYC=0
%pyproject_wheel
%build -p
export PYTOKENS_USE_MYPYC=0

Comment on lines +40 to +42
%generate_buildrequires
export PYTOKENS_USE_MYPYC=0
%pyproject_buildrequires
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
%generate_buildrequires
export PYTOKENS_USE_MYPYC=0
%pyproject_buildrequires
%generate_buildrequires -p
export PYTOKENS_USE_MYPYC=0

Comment on lines +37 to +38
%prep
%autosetup -n %{srcname}-%{version}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

@Z572
Copy link
Copy Markdown
Contributor

Z572 commented Apr 1, 2026

-SPECS: add pytokens
+SPECS: add python-pytokens

@misaka00251 misaka00251 added Community: Student contribution Used by contributors that are currently students at an educational institution. Target: Rolling Targeting rolling/current branch. Workflow: In Review Issues that are undergoing code review and/or undergoing design review. BuildSystem: pyproject Issue/PR related to pyproject BuildSystem. labels Apr 1, 2026
@kenlig kenlig force-pushed the add-pytokens branch 2 times, most recently from c98cfcd to f82149b Compare April 12, 2026 13:47
%license LICENSE

%changelog
%{?autochangelog}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be %autochangelog here.

BuildRequires: python3dist(mypy)
BuildRequires: python3dist(wheel)

Provides: python3-%{srcname}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provides: python3-%{srcname} = %{version}-%{release}

Signed-off-by: kenlig <qiming.or@isrc.iscas.ac.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BuildSystem: pyproject Issue/PR related to pyproject BuildSystem. Community: Student contribution Used by contributors that are currently students at an educational institution. Target: Rolling Targeting rolling/current branch. Workflow: In Review Issues that are undergoing code review and/or undergoing design review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants