From patchwork Wed Apr 24 08:59:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1090002 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.138; helo=whitealder.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="XdcZ3vSL"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44pvQf4wn6z9s3Z for ; Wed, 24 Apr 2019 18:59:53 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9E62C86D36; Wed, 24 Apr 2019 08:59:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Mdpz+y680i8; Wed, 24 Apr 2019 08:59:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 177D586995; Wed, 24 Apr 2019 08:59:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E40621BF8C7 for ; Wed, 24 Apr 2019 08:59:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DCF0F86995 for ; Wed, 24 Apr 2019 08:59:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i+s-nkaSCwqD for ; Wed, 24 Apr 2019 08:59:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by whitealder.osuosl.org (Postfix) with ESMTPS id AC7B086489 for ; Wed, 24 Apr 2019 08:59:45 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id z24so3873845wmi.5 for ; Wed, 24 Apr 2019 01:59:45 -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; bh=OG6nkCg9CgiNhzMKmPsiqANB17JC1cvN4vZg44Ppdt8=; b=XdcZ3vSLjstH6H+/0NUaHLWGABwHnSpi7ewoPFJU1lqCTEUDS3vzeAQpDEcRge3ZXl vW5T4+cV4YZNgajmO3VWekmRA+VxUcdT9RQ/ltNqlfv6Sr0djD74YjBukgccsY4+5SBl cSDEhzjCnv9nvLnSzPStrkRZWruWU/gOB9ExocJctDA1k/kztlwo1sFyK8uzogv2y4Um Qbms+1rmWKuVna0ZSzqGcNbyx2gCaXICLALPMKpEWittQJ4kkv+O8bFM062xnhHNVs+s gTWOz0aklQO4WRbHlYsOAEFgExRLafUOHrdlBByMqnwuWV6lC+jRsqs7XX3nTlO/Afip KgPw== 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; bh=OG6nkCg9CgiNhzMKmPsiqANB17JC1cvN4vZg44Ppdt8=; b=ZNNF3ymvvbcBCeDWcZrAUlwxfX/znqtfLsKvPnGuuoS7AOS72SgXUR0L4Q6TqVsHM7 fH/NPNVp3903J8CQZXAObvlaigLvzLAgIMhcTXfpIZzr7k54zg8KCbP7xhHR4NgvI8Pb 0jajy06W722x6XDpi7p9OJ1opJUlfiMTYpwH+73TLEWYQItnc5EdANJ9DkjCE6lNrq4F 8RVtpm9wsY10GiEJpT6u4mXoq2xo5GO2yIy18eUSrTugeM5zNmNTftZehGvhzPmlWQj0 llf77oFrseNj4ZxHWFCRClyDsnsqwqAOFEIIN+NI5XMzraIvXSlOztOcrY710uCyciiT 9Ytg== X-Gm-Message-State: APjAAAWZNyX4bLE16pjnxtiW71IubmTYXN7vHFxENJKe7dqMQfjMu6sW Z0wdDVTATtcGI2w/lBcae+kpqHzEAng= X-Google-Smtp-Source: APXvYqz6lI+EXWqZWyBLqfYqj+o36vE77LUK3xIrtt97c2UnWOjb5PmcFZjClp24tkRlijOGtDvZgQ== X-Received: by 2002:a1c:62d4:: with SMTP id w203mr5569446wmb.54.1556096383875; Wed, 24 Apr 2019 01:59:43 -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 p2sm6062156wru.73.2019.04.24.01.59.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Apr 2019 01:59:43 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Wed, 24 Apr 2019 10:59:39 +0200 Message-Id: <1556096379-32178-1-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH] 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" --- package/python-pytest/Config.in | 9 +++++++++ package/python-pytest/python-pytest.hash | 2 ++ package/python-pytest/python-pytest.mk | 15 +++++++++++++++ 3 files changed, 26 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/package/python-pytest/Config.in b/package/python-pytest/Config.in new file mode 100644 index 0000000..db69027 --- /dev/null +++ b/package/python-pytest/Config.in @@ -0,0 +1,9 @@ +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..5e072d7 --- /dev/null +++ b/package/python-pytest/python-pytest.hash @@ -0,0 +1,2 @@ +# sha256 from https://pypi.org/project/pytest/#files +sha256 b7802283b70ca24d7119b32915efa7c409982f59913c1a6c0640aacf118b95f5 pytest-4.4.1.tar.gz diff --git a/package/python-pytest/python-pytest.mk b/package/python-pytest/python-pytest.mk new file mode 100644 index 0000000..b6cafda --- /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_DEPENDENCIES = python3-setuptools-scm + +$(eval $(python-package))