From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/http-parser/Manifest | 5 ++++ dev-python/http-parser/http-parser-0.8.3.ebuild | 37 +++++++++++++++++++++++++ dev-python/http-parser/metadata.xml | 12 ++++++++ 3 files changed, 54 insertions(+) create mode 100644 dev-python/http-parser/Manifest create mode 100644 dev-python/http-parser/http-parser-0.8.3.ebuild create mode 100644 dev-python/http-parser/metadata.xml (limited to 'dev-python/http-parser') diff --git a/dev-python/http-parser/Manifest b/dev-python/http-parser/Manifest new file mode 100644 index 000000000000..a172eeeb4025 --- /dev/null +++ b/dev-python/http-parser/Manifest @@ -0,0 +1,5 @@ +DIST http-parser-0.8.3.tar.gz 83040 SHA256 e2aff90a60def3e476bd71694d8757c0f95ebf2fedf0a8ae34ee306e0b20db83 SHA512 aca583d976dcf172244179cc4199336f296dbb2e2838dded23e64d55f23298fe600f9c24ba6cb6d1d5faad3022710154949fd39adecaef763f7589a58d03fbd1 WHIRLPOOL 9de8476e9fa878b5542806efb8fe1729ac6fcb04b7dcc9d084dfd9e4280fe3bee185d2fb8ae43b2d3a46eb3a1a67047a40e423d054ecb542f66bd15b35fae427 +EBUILD http-parser-0.8.3.ebuild 913 SHA256 7e1aba98443902c3c7150d497fc091bec7c72c2ab7e2481c46d841baf8a5dc7b SHA512 d032b1e2d32fd074600230a4f5ec99729feaf204923bdb66e5fc227088a25aeb7a8f972884767e0c14bb324aa5bc897a8f7be52dcf47d675b963344241bfcf4a WHIRLPOOL 07aa82dd31bd56fa41ae8b1c89682640d8786dbe2db7f7c80db28d065397443cca42618aa0ee0573cb8e5100722bac35bf4d415104852d24324ae18670a9bdf4 +MISC ChangeLog 3357 SHA256 6dab1742f5b4fbd944124cb8713c1b24a8f256c39b465af0840f80703566ed41 SHA512 18543806a4fb2abb4579653ce5c758a32c29392b707afb17eff86514a2a898742eb93777e5018d24255626bc00aa76e5b259f4c1122dce9670d8bdf549927e39 WHIRLPOOL 99b04ffb7dd4fb41d6cbe96becb203949bd739e8ef71570706b999702592ecac318fb0355fc71a74941e043015d3a5278ac7d7e34d1dea5a2120727a0df9e4e9 +MISC ChangeLog-2015 4270 SHA256 4afe378dec98fe411993e2d53f7513ade936839aa27d5dd3c9c0584e83bd091f SHA512 4686554b58d17c9b5eb74a10846e1179358aad5506298c9b7fd5b696057339d59caaebb8f37580ab001d6bc3138212646f6e52dcebdbe72207954160c90e1543 WHIRLPOOL 72479534ce8f116959bc66872c46dd22ee82f80eae2d503516e8a7bd09ea90534d090a759577bedf8da21f226dfa85fd5156450750723217d120f60d1010fab5 +MISC metadata.xml 385 SHA256 fe663d14ed077a087f8097519006a3de175b98f3eda3021cfd47eb0d4648aa28 SHA512 5b4b7b992bf4036ee076a2714bd0b91540b071fac6194ade8327e71062d7dfc5597f68934c275d72756c5ebb25e334059df4112946a1a84ab20ca0710ee16760 WHIRLPOOL ca594c7e8bb7ff966934d1831672bba1e3511e14ae5911dff9410e30f6e4c12e6f9ee936f3ff5163a34afe559c1a0148f857a6549fca5ad0a1be7fab33eb8676 diff --git a/dev-python/http-parser/http-parser-0.8.3.ebuild b/dev-python/http-parser/http-parser-0.8.3.ebuild new file mode 100644 index 000000000000..11ee13c191f8 --- /dev/null +++ b/dev-python/http-parser/http-parser-0.8.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="HTTP request/response parser for python in C" +HOMEPAGE="https://github.com/benoitc/http-parser" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ppc ppc64 ~s390 ~sparc x86 ~x86-fbsd" +IUSE="examples" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' 'python*')" + +python_compile() { + if [[ ${EPYTHON} != python3* ]]; then + local CFLAGS=${CFLAGS} + append-cflags -fno-strict-aliasing + fi + + distutils-r1_python_compile +} + +python_install_all() { + local DOCS=( README.rst ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/http-parser/metadata.xml b/dev-python/http-parser/metadata.xml new file mode 100644 index 000000000000..ec7464a19b16 --- /dev/null +++ b/dev-python/http-parser/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + Python + + + http-parser + benoitc/http-parser + + -- cgit v1.2.3