From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9AD8B13835A for ; Mon, 18 May 2020 10:57:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF8C0E0905; Mon, 18 May 2020 10:57:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A620DE0905 for ; Mon, 18 May 2020 10:57:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8DE0A34EF97 for ; Mon, 18 May 2020 10:57:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72F9D18F for ; Mon, 18 May 2020 10:57:33 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1589799423.2d48e156b37f0abd9c03e97ed98f83c41a6ee593.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/http-parser/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/http-parser/Manifest dev-python/http-parser/http-parser-0.9.0.ebuild X-VCS-Directories: dev-python/http-parser/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2d48e156b37f0abd9c03e97ed98f83c41a6ee593 X-VCS-Branch: master Date: Mon, 18 May 2020 10:57:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 76c57c68-60f2-482b-a23e-e5b9316acd5d X-Archives-Hash: 29b0e10c7a12cd54124bb55cd0bdbc29 commit: 2d48e156b37f0abd9c03e97ed98f83c41a6ee593 Author: Michał Górny gentoo org> AuthorDate: Mon May 18 10:47:04 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 18 10:57:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d48e156 dev-python/http-parser: Bump to 0.9.0 Closes: https://bugs.gentoo.org/723556 Signed-off-by: Michał Górny gentoo.org> dev-python/http-parser/Manifest | 1 + dev-python/http-parser/http-parser-0.9.0.ebuild | 41 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/http-parser/Manifest b/dev-python/http-parser/Manifest index 0175a15c11a..849b8b606ba 100644 --- a/dev-python/http-parser/Manifest +++ b/dev-python/http-parser/Manifest @@ -1 +1,2 @@ DIST http-parser-0.8.3.tar.gz 83040 BLAKE2B 8ccfd15154e34756229159576340536e447a1b76375df7c3f56b96c79957a3b28569fd4a4e77303fd1d254aa5652478f7e319e7556150de563f5b12c58482de4 SHA512 aca583d976dcf172244179cc4199336f296dbb2e2838dded23e64d55f23298fe600f9c24ba6cb6d1d5faad3022710154949fd39adecaef763f7589a58d03fbd1 +DIST http-parser-0.9.0.gh.tar.gz 101174 BLAKE2B 92b74dffd2c35672bc383ccda59f93723c0f83ecb0fbf0470f5daacdd37f68d4d63de7d4ea53f86d2109349a793b7535cc864f014311dee6ac5e67d0ca751931 SHA512 75e51bef43d9d7698aad69f8bfe651e24784b97603cac55f33bf4c12c86792c8c71d6206f31847d052e4d8621a5ea65a7b34eca5bebdb8189f58e6d98d33139d diff --git a/dev-python/http-parser/http-parser-0.9.0.ebuild b/dev-python/http-parser/http-parser-0.9.0.ebuild new file mode 100644 index 00000000000..5a0b335f0cc --- /dev/null +++ b/dev-python/http-parser/http-parser-0.9.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{6,7,8}} ) + +inherit distutils-r1 + +DESCRIPTION="HTTP request/response parser for python in C" +HOMEPAGE="https://github.com/benoitc/http-parser" +SRC_URI=" + https://github.com/benoitc/http-parser/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples" + +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_compile() { + if [[ ${EPYTHON} != python3* ]]; then + local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + fi + + distutils-r1_python_compile +} + +python_install_all() { + local DOCS=( README.rst ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +}