From patchwork Mon May 6 08:15:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1095712 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="N+/t/EeH"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44yFtn2x1xz9sB8 for ; Mon, 6 May 2019 18:16:17 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BCC4F241F9; Mon, 6 May 2019 08:16:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OS0lJXT3Cwo0; Mon, 6 May 2019 08:16:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 329E523BC0; Mon, 6 May 2019 08:16:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 088C41BF868 for ; Mon, 6 May 2019 08:15:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 044E886D42 for ; Mon, 6 May 2019 08:15:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GXOsCDNRfbdH for ; Mon, 6 May 2019 08:15:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id 98A7A86FF9 for ; Mon, 6 May 2019 08:15:55 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id r4so727953wro.10 for ; Mon, 06 May 2019 01:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dBZiw9+yBOejvkboVoPe/7wIWXjri60mDnUfeFQNje4=; b=N+/t/EeHmZJje+bLfOHLbQ5xzwrJMsLyttLAk0HGBzCovjaQPp1bq0JrBmMuyhyBmH ZUpIY+yIic1d/DpcIpVhaTcS34GA+9AyQXWt+i8Ds7FM5qLO/zgvLiZ1x+lKYigos0eY s08s1pqCksFeb+Q793BBSPCxRyYg9aPdrxsQZ1YTjnb3fqWDUCfUfseamlAe2ROtIFfp pdIoTV/NAskZUrhwuhzVs1WIG56TAwFVluEJqjf6kXOY8WjRfOiVVFgjDEoj/tJG0B9t XMEhGAFvLSqRoioeOcvUzchh/yS97YTQkRAMyHaKBe+zANdveM0Q1ocQ1a7V8KwUrCuj /k+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dBZiw9+yBOejvkboVoPe/7wIWXjri60mDnUfeFQNje4=; b=aN+astgHJph6IOBwpO61wEcC41ruVFhXN0IcKksnAIMXEMaCyKTOhXOfSm4wkckojB tVzQkS/7Be0HWhd8TXhb9jfE80QGY8koo0U6zmjsIf3gkrBsswhPRsHc4dTXyIAqj1Ed tAQ0TJQ/I+qZf2RgPP6d/2e8cCgYKmuuSZfoNocBQqiYQzDKKDPxOZuRldNWaMs5AfeN MEdZ5SiwTrFdPz/Ua/2YoA8SCPmOMvvHsM/vzp00M9XeQY8nq7/W1eNi4FxnfJ04S299 tgC4L7egWeM7IlpKM2bqdzsq1i0qCGflwAx7zoZRUBFsQDXuXHvGeGGFAO5o4HqyXxQ9 brsA== X-Gm-Message-State: APjAAAWFnX67+E8SsSU0mA1n4kyDwj8jn0VyO9P7L0kX/3SqhIlCVS2d XF8MFdooK95ayxyx+3tR8JLHPxEQniE= X-Google-Smtp-Source: APXvYqzqM4le4iq75OZTBveGJyzuxgNw4mQUI3UBinQ+pnHm2y2KODZfCrrccx8MJ9MALeQjSyat8g== X-Received: by 2002:adf:df85:: with SMTP id z5mr10655779wrl.127.1557130553970; Mon, 06 May 2019 01:15:53 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id z7sm12205912wme.26.2019.05.06.01.15.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 May 2019 01:15:53 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Mon, 6 May 2019 10:15:43 +0200 Message-Id: <1557130548-6267-3-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1557130548-6267-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1557130548-6267-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH v3 2/7] package/python-pytest: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" bcc requires python-bcc which itself requires python-pytest. The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. Signed-off-by: Jugurtha BELKALEM --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/python-pytest/Config.in | 8 ++++++++ package/python-pytest/python-pytest.hash | 5 +++++ package/python-pytest/python-pytest.mk | 15 +++++++++++++++ 5 files changed, 32 insertions(+) create mode 100644 package/python-pytest/Config.in create mode 100644 package/python-pytest/python-pytest.hash create mode 100644 package/python-pytest/python-pytest.mk diff --git a/DEVELOPERS b/DEVELOPERS index 95ebfcb..abb6b4e 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1224,6 +1224,9 @@ F: package/python-sentry-sdk/ F: package/python-websockets/ F: package/python-xlib/ +N: Jugurtha BELKALEM +F: package/python-pytest + N: Joshua Henderson F: package/qt5/qt5wayland/ diff --git a/package/Config.in b/package/Config.in index f592e74..2a0aca9 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1015,6 +1015,7 @@ menu "External python modules" source "package/python-pysocks/Config.in" source "package/python-pytablereader/Config.in" source "package/python-pytablewriter/Config.in" + source "package/python-pytest/Config.in" source "package/python-pytrie/Config.in" source "package/python-pytz/Config.in" source "package/python-pyudev/Config.in" diff --git a/package/python-pytest/Config.in b/package/python-pytest/Config.in new file mode 100644 index 0000000..7db5493 --- /dev/null +++ b/package/python-pytest/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PYTEST + bool "python-pytest" + help + The pytest framework makes it easy to write small tests, + yet scales to support complex functional testing for + applications and libraries. + + https://pypi.org/project/pytest/ diff --git a/package/python-pytest/python-pytest.hash b/package/python-pytest/python-pytest.hash new file mode 100644 index 0000000..43f9f98 --- /dev/null +++ b/package/python-pytest/python-pytest.hash @@ -0,0 +1,5 @@ +# sha256 from https://pypi.org/project/pytest/#files +sha256 b7802283b70ca24d7119b32915efa7c409982f59913c1a6c0640aacf118b95f5 pytest-4.4.1.tar.gz + +# Locally calculated +sha256 4be38574daf05665b6194e4fd84c5ef6ce7c3a2810308a5222d5cdffc2d04d18 LICENSE diff --git a/package/python-pytest/python-pytest.mk b/package/python-pytest/python-pytest.mk new file mode 100644 index 0000000..665951f --- /dev/null +++ b/package/python-pytest/python-pytest.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pytest +# +################################################################################ + +PYTHON_PYTEST_VERSION = 4.4.1 +PYTHON_PYTEST_SOURCE = pytest-$(PYTHON3_PYTEST_VERSION).tar.gz +PYTHON_PYTEST_SITE = https://files.pythonhosted.org/packages/2b/b1/c9a84f79fc3bad226a9085289da11ecdd9bd2779a2c654195962b37d4110/ +PYTHON_PYTEST_LICENSE = MIT +PYTHON_PYTEST_LICENSE_FILES = LICENSE +PYTHON_PYTEST_SETUP_TYPE = setuptools +PYTHON_PYTEST_DEPENDENCIES = python-setuptools-scm + +$(eval $(python-package))