bump certifi-2019.6.16

This commit is contained in:
Andreas Billmeier 2019-06-24 20:38:44 +02:00
parent 11d081e3fd
commit 2399ead69f
2 changed files with 45 additions and 0 deletions

View File

@ -1,4 +1,6 @@
AUX certifi-2019.3.9-use-system-cacerts.patch 334 BLAKE2B cc9863a473d233c9cab8a71bd154ea9c138a804fcff07c8a38eae3ffe8c6862e74d146d5dfe41f009173893476ab9a1011eeccc4ccb632470f7492fbaa2c75cb SHA512 47a0cb136a7bd11686c612ba09c29f17d3e865dc642738887ce6ee28ad5e75ab872a0138802d597886ea611ebe581ee015fd2697e8abdee3c516220068fda0e6
DIST certifi-2019.3.9.tar.gz 158179 BLAKE2B fa32135b502ae970c70d0932942577e0a4dc892e5c4e9637a1bef097a17b837501dd96d4e7a614311a81f6577f498a9c3561b8758b943451878061ef27fc81b5 SHA512 d86559b0d384f8114245b169391c73d5e6df02ba411cf9706c9d4e5958eeef610b6550bcb5eb519856b8fa25f3f5eb1cea02c0df1f6df72e16da8201732b0dd9
DIST certifi-2019.6.16.tar.gz 156721 BLAKE2B 3990a9c122dbaf554f4482ad97192efa66f1cf54e83bd4ee67248bbea8797dc4da38ab537230a8263a491a2a2115528138965480ef4da6d6cba9ac2af5bff830 SHA512 4641626bc5073cd0b3a520855ddef1007dcb42933baa7a3469856f936e725581042bcbd5b67e984ba9748e7faa62b9125cba7dc160dcc5db2eafe46461a29f5e
EBUILD certifi-2019.3.9.ebuild 1404 BLAKE2B 6e175bcb258fb80147b4b886d0436334a9d6dba35848d8659a577defd1bb266cbd121a26798a4c18ec645ab57073de877ea079efae8278f0d75d19e2d71349cb SHA512 53bc2e7b6015b0d57ed39313466769e010791a22ca6344855c71f0edcaa8e9a622fec366a289c8e5247fd34f60bc0c886f79434cfb2d7837f09706440bc6a6bf
EBUILD certifi-2019.6.16.ebuild 1404 BLAKE2B 6e175bcb258fb80147b4b886d0436334a9d6dba35848d8659a577defd1bb266cbd121a26798a4c18ec645ab57073de877ea079efae8278f0d75d19e2d71349cb SHA512 53bc2e7b6015b0d57ed39313466769e010791a22ca6344855c71f0edcaa8e9a622fec366a289c8e5247fd34f60bc0c886f79434cfb2d7837f09706440bc6a6bf
MISC metadata.xml 320 BLAKE2B ba5c3c1018c5cba293969a523ab6c388f5bc0d0cfdfc69a4b143f1c966aad036df449bb091eacdeae2335a6bdc722da85882caad2a447bf87b600da2ed7c5309 SHA512 0e99564887f0a0b314056b2e1f4b6e3afcaf908de6824a2cc87deab9d1832566e97b8ba88cc7d2bdc5d11e7f1c8532830fc59602efd8c2f1a6061c0ad4853fdd

View File

@ -0,0 +1,43 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
inherit distutils-r1 prefix readme.gentoo-r1
DESCRIPTION="Python package for providing Mozilla's CA Bundle"
HOMEPAGE="http://certifi.io/ https://pypi.org/project/certifi"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
# Do not drop this patch -- this will affect system's security
PATCHES=( "${FILESDIR}"/$P-use-system-cacerts.patch )
RDEPEND="app-misc/ca-certificates"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_prepare_all() {
distutils-r1_python_prepare_all
eprefixify certifi/core.py
}
python_install_all() {
distutils-r1_python_install_all
local DOC_CONTENTS="
In Gentoo, we don't use certifi's bundled CA certificates.
Instead we remove bundled cacert.pem and patch certifi
to return system's CA certificates.
"
readme.gentoo_create_doc
# Precaution -- nothing should use bundled CA certificates
find "${D}" -name 'cacert.pem' -delete || die "Failed to delete bundled CA certificates"
}