diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
| commit | 8e8120eabdd28020aa69c7a60505cce2edd20adc (patch) | |
| tree | 061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild | |
| parent | c16790af2c9b4cbc38e565d4311252193ff85484 (diff) | |
| download | baldeagleos-repo-21.1.2.tar.gz baldeagleos-repo-21.1.2.tar.xz baldeagleos-repo-21.1.2.zip | |
Updating liguros repo21.1.2
Diffstat (limited to 'dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild')
| -rw-r--r-- | dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild deleted file mode 100644 index 6fa2736d98c9..000000000000 --- a/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL" -HOMEPAGE=" - https://github.com/cedadev/ndg_httpsclient/ - https://pypi.org/project/ndg-httpsclient/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/-/_}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/pyopenssl[$(python_gen_usedep 'python*' pypy)]" -# we need to block the previous versions since incorrect namespace -# install breaks tests -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - !!<dev-python/ndg-httpsclient-0.4.2-r1 - dev-libs/openssl:0 - )" - -S="${WORKDIR}/${P/-/_}" - -# doc build by Makefile in folder documentation is broken - -src_test() { - # we need to start a fake https server for tests to connect to - ( cd ndg/httpsclient/test && sh ./scripts/openssl_https_server.sh ) & - local server_pid=${!} - - distutils-r1_src_test - - kill "${server_pid}" - wait -} - -python_test() { - "${PYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # install the namespace (this is the only package in ::gentoo - # using it; we'll split it if we add more) - python_moduleinto ndg - python_domodule ndg/__init__.py -} - -python_install_all() { - distutils-r1_python_install_all - - find "${D}" -name '*.pth' -delete || die -} |
