Репозиторий Sisyphus
Последнее обновление: 21 февраля 2019 | Пакетов: 18485 | Посещений: 13057608
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python-module-pip

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Summary: pip installs packages.  Python packages.  An easy_install replacement
Name: python-module-pip
Version: 18.0
Release: alt1
Source0: pip-%version.tar.gz
Patch: pip-1.5.6-alt-python3.patch
License: MIT
Group: Development/Python
BuildArch: noarch
Url: http://www.pip-installer.org
%setup_python_module pip

BuildRequires(pre): rpm-macros-sphinx
# Automatically added by buildreq on Wed Jun 13 2018 (-bi)
# optimized out: python-base python-devel python-module-OpenSSL python-module-PyStemmer python-module-Pygments python-module-SQLAlchemy python-module-asn1crypto python-module-attrs python-module-babel python-module-backports python-module-backports.ssl_match_hostname python-module-cffi python-module-chardet python-module-cryptography python-module-docutils python-module-enum34 python-module-funcsigs python-module-idna python-module-imagesize python-module-ipaddress python-module-jinja2 python-module-lxml python-module-markupsafe python-module-ndg-httpsclient python-module-ntlm python-module-pluggy python-module-py python-module-pycparser python-module-pytest python-module-pytz python-module-requests python-module-setuptools python-module-simplejson python-module-six python-module-sphinx python-module-sphinxcontrib python-module-typing python-module-urllib3 python-module-webencodings python-module-whoosh python-modules python-modules-compiler python-modules-ctypes python-modules-email python-modules-encodings python-modules-json python-modules-logging python-modules-multiprocessing python-modules-unittest python-modules-xml python-sphinx-objects.inv python3 python3-base python3-module-OpenSSL python3-module-Pygments python3-module-asn1crypto python3-module-babel python3-module-cffi python3-module-chardet python3-module-cryptography python3-module-docutils python3-module-idna python3-module-imagesize python3-module-jinja2 python3-module-markupsafe python3-module-pytz python3-module-requests python3-module-setuptools python3-module-six python3-module-sphinx python3-module-urllib3 rpm-build-python3 xz
BuildRequires: ctags python-module-alabaster python-module-html5lib python-module-sphinxcontrib-websupport python3-module-alabaster python3-module-sphinxcontrib-websupport time

#BuildRequires: python-module-setuptools

#BuildPreReq: python-module-sphinx-devel
BuildRequires(pre): rpm-build-python3
##add_python3_req_skip  UserDict

%description
%summary

%package pickles
Summary: Pickles for pip
Group: Development/Python

%description pickles
%summary

This package contains pickles for pip.

%package docs
Summary: Documentation for pip
Group: Development/Documentation

%description docs
%summary

This package contains documentation for pip.

%package -n python3-module-%modulename
Summary: pip installs packages.  Python packages.  An easy_install replacement
Group: Development/Python3
%py3_provides %modulename pip._vendor.six.moves pip._vendor.six.moves.urllib pip._vendor.six.moves.urllib.parse

%description -n python3-module-%modulename
%summary

%package -n python3-module-%modulename-pickles
Summary: Pickles for pip3
Group: Development/Python3

%description -n python3-module-%modulename-pickles
%summary

This package contains pickles for pip.

%package -n python3-module-%modulename-docs
Summary: Documentation for pip3
Group: Development/Documentation

%description -n python3-module-%modulename-docs
%summary

This package contains documentation for pip.

%prep
%setup -n %modulename-%version

# XXX wait for packaging pypa_theme

sed -i '
s/pypa_theme/default/
/.navigation_depth.: 3,/s/^/#/
/.issues_url.:/s/^/#/
' docs/conf.py

%prepare_sphinx .
ln -s ../objects.inv docs/

%build
# py2 and py3 builds are identical
%python_build

PYTHONPATH=`pwd`/build/lib %make -C docs pickle BUILDDIR=build2
PYTHONPATH=`pwd`/build/lib %make -C docs html BUILDDIR=build2

PYTHONPATH=`pwd`/build/lib %make -C docs pickle BUILDDIR=build3 SPHINXBUILD=py3_sphinx-build
PYTHONPATH=`pwd`/build/lib %make -C docs html BUILDDIR=build3 SPHINXBUILD=py3_sphinx-build

%install
%python3_install
%python_install

cp -fR docs/build2/pickle %buildroot%python_sitelibdir/%modulename/
cp -fR docs/build2/pickle %buildroot%python3_sitelibdir/%modulename/

%files
%doc *.txt *.rst
%_bindir/*
%exclude %_bindir/pip3*
%python_sitelibdir/*
%exclude %python_sitelibdir/*/pickle

%files pickles
%python_sitelibdir/*/pickle

%files docs
%doc docs/build2/html/*

%files -n python3-module-%modulename
%doc *.txt *.rst
%_bindir/pip3*
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/pickle

%files -n python3-module-%modulename-pickles
%python3_sitelibdir/*/pickle

%files -n python3-module-%modulename-docs
%doc docs/build3/html/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin