Skip to content

Commit

Permalink
Add python-mailbits
Browse files Browse the repository at this point in the history
  • Loading branch information
Odilhao committed Oct 25, 2024
1 parent dd911df commit e8f4749
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions comps/comps-pulpcore-el9.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
<packagereq type="default">python3.11-libcomps</packagereq>
<packagereq type="default">python3.11-lockfile</packagereq>
<packagereq type="default">python3.11-lxml</packagereq>
<packagereq type="default">python3.11-mailbits</packagereq>
<packagereq type="default">python3.11-markdown</packagereq>
<packagereq type="default">python3.11-markuppy</packagereq>
<packagereq type="default">python3.11-markupsafe</packagereq>
Expand Down
1 change: 1 addition & 0 deletions package_manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ tier4_packages:
python-rsa: {}
python-cachetools: {}
python-expandvars: {}
python-mailbits: {}

pulpcore_packages:
hosts:
Expand Down
1 change: 1 addition & 0 deletions packages/python-mailbits/mailbits-0.2.1.tar.gz
59 changes: 59 additions & 0 deletions packages/python-mailbits/python-mailbits.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
%global python3_pkgversion 3.11
%global __python3 /usr/bin/python3.11

# Created by pyp2rpm-3.3.3
%global pypi_name mailbits

Name: python-%{pypi_name}
Version: 0.2.1
Release: 1%{?dist}
Summary: Assorted e-mail utility functions

License: MIT
URL: https://github.com/jwodder/mailbits/
Source0: https://files.pythonhosted.org/packages/source/m/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch

BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-wheel
BuildRequires: pyproject-rpm-macros


%description
%{summary}


%package -n python%{python3_pkgversion}-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
Requires: python%{python3_pkgversion}-attrs >= 18.1


%description -n python%{python3_pkgversion}-%{pypi_name}
%{summary}


%prep
set -ex
%autosetup -n %{pypi_name}-%{version}


%build
set -ex
%pyproject_wheel


%install
set -ex
%pyproject_install

%files -n python%{python3_pkgversion}-%{pypi_name}
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/


%changelog
* Fri Oct 25 2024 Odilon Sousa - 0.2.1-1
- Initial package.

0 comments on commit e8f4749

Please sign in to comment.