Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
python3-pycryptodomex
> python3-pycryptodomex.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-pycryptodomex.spec of Package python3-pycryptodomex
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.32 # Name: python3-pycryptodomex # >> macros # << macros %define int_name pycryptodomex Summary: Cryptographic library for Python Version: 3.14.0 Release: 0 Group: Development License: BSD-2-Clause and unlicense URL: https://www.pycryptodome.org Source0: https://files.pythonhosted.org/packages/s/%{int_name}/%{int_name}-%{version}.tar.gz Source100: python3-pycryptodomex.yaml BuildRequires: pkgconfig(python) BuildRequires: python3-rpm-macros %description PyCryptodome is a self-contained Python package of low-level cryptographic primitives. %if "%{?vendor}" == "chum" PackagerName: nephros Categories: - Library Url: Homepage: https://www.pycryptodome.org Help: https://www.pycryptodome.org/en/latest/ %endif %prep %setup -q -n %{int_name}-%{version} # >> setup # << setup %build # >> build pre # << build pre %{py3_build} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %{py3_install} # >> install post find %{buildroot}%{_libdir}/python%{python3_version}/site-packages -type f -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} + # << install post %files %defattr(-,root,root,-) # >> files %doc LICENSE.rst README.rst Changelog.rst %{_libdir}/python%{python3_version}/site-packages/* # << files