Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37509124
en ru br
ALT Linux repositórios
S:0.8.7-alt1

Group :: Development/Python3
RPM: py2pack

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname py2pack

Name:       py2pack
Version:    0.8.7
Release:    alt1

Summary:    Generate distribution packages from Python packages on PyPI
License:    GPL-2.0+
Group:      Development/Python3
Url:        http://github.com/saschpe/py2pack
Packager:   Andrey Cherepanov <cas at altlinux.org>

BuildArch:  noarch

Source:     %name-%version.tar
Patch1:     py2pack-alt-spec-support.patch
Patch2:     py2pack-alt-spec-default.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-jinja2 python3-module-six
BuildRequires: python3-module-cssselect python3-module-lxml
BuildRequires: python3-module-requests
BuildRequires: python3-module-pbr

Requires: python3-module-py2pack = %version-%release

%description
This script allows to generate RPM spec or DEB dsc files from Python modules.
It allows to list Python modules or search for them on the Python Package Index
(PyPI). Conveniently, it can fetch tarballs and change logs making it an
universal tool to package Python modules.

%package -n python3-module-py2pack
Summary: General purpose template engine
Group: Development/Python3
%py3_requires pbr

%description -n python3-module-py2pack
This script allows to generate RPM spec or DEB dsc files from Python modules.
It allows to list Python modules or search for them on the Python Package Index
(PyPI). Conveniently, it can fetch tarballs and change logs making it an
universal tool to package Python modules.

%prep
%setup -n %oname-%version
%patch1 -p1
%patch2 -p1

%build
export PBR_VERSION=%version
%python3_build

%install
export PBR_VERSION=%version
%python3_install

%files
%_bindir/%oname

%files -n python3-module-py2pack
%python3_sitelibdir/%{oname}*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009