Sisyphus repositório
Última atualização: 4 abril 2020 | SRPMs: 17565 | Visitas: 17824750
en ru br
ALT Linux repositórios
S:0.6.0-alt2

Group :: Desenvolvimento/Python
RPM: python-module-trustme

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define  modulename trustme
%def_without python2

Name:    python-module-%modulename
Version: 0.5.3
Release: alt1

Summary: #1 quality TLS certs while you wait, for the discerning tester
License: Apache2 or MIT
Group:   Development/Python
URL:     https://github.com/python-trio/trustme

Packager: Andrey Cherepanov <cas at altlinux.org>

BuildRequires: rpm-build-python
BuildRequires: python-devel
BuildRequires: python-module-distribute
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools

BuildArch: noarch

Source:  %modulename-%version.tar

%description
trustme is a tiny Python package that does one thing: it gives you a
fake certificate authority (CA) that you can use to generate fake TLS
certs to use in your tests. Well, technically they're real certs,
they're just signed by your CA, which nobody trusts. But you can trust
it. Trust me.

%package -n python3-module-%modulename
Summary: #1 quality TLS certs while you wait, for the discerning tester
Group: Development/Python3

%description -n python3-module-%modulename
trustme is a tiny Python package that does one thing: it gives you a
fake certificate authority (CA) that you can use to generate fake TLS
certs to use in your tests. Well, technically they're real certs,
they're just signed by your CA, which nobody trusts. But you can trust
it. Trust me.

%prep
%setup -n %modulename-%version
rm -rf ../python3
cp -a . ../python3

%build
%if_with python2
%python_build
%endif
pushd ../python3
%python3_build
popd

%install
%if_with python2
%python_install
%endif
pushd ../python3
%python3_install
popd

%if_with python2
%files
%python_sitelibdir/%modulename/
%python_sitelibdir/*.egg-info
%endif

%files -n python3-module-%modulename
%python3_sitelibdir/%{modulename}*

%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