X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail.cmpwn.com (mail.cmpwn.com [45.56.77.53]) by lists.alpinelinux.org (Postfix) with ESMTP id 6BD01F8568F for ; Sun, 30 Jun 2019 18:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cmpwn.com; s=cmpwn; t=1561919073; bh=3nqR9mhJeu5m5R/LI5ARd7MpBesyc6DqdZ3QiFIxZ/0=; h=From:To:Cc:Subject:Date; b=syYXqkIZAGyjfi7e5rlz7tFwYi3BLby5yO1XawC5wtbjame2nGUIITwdRsTgP7RGO voZrhHFhPlyx79kXDRdoNjf0oaMxaNoeHTHui1wiQI1ly7/uehSUN25L3gmKThKfU9 ky8iWS6oJFjXrQ3wwHAy6+8t8YKW5xVOpinzKNn0= From: Drew DeVault To: alpine-aports@lists.alpinelinux.org Cc: Drew DeVault Subject: [alpine-aports] [PATCH 1/2] testing/py3-pytest-flake8: new APKBUILD Date: Sun, 30 Jun 2019 14:24:30 -0400 Message-Id: <20190630182431.23554-1-sir@cmpwn.com> X-Mailer: git-send-email 2.22.0 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit --- testing/py3-pytest-flake8/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/py3-pytest-flake8/APKBUILD diff --git a/testing/py3-pytest-flake8/APKBUILD b/testing/py3-pytest-flake8/APKBUILD new file mode 100644 index 0000000000..be843aeaf2 --- /dev/null +++ b/testing/py3-pytest-flake8/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Drew DeVault +pkgname=py3-pytest-flake8 +_pyname=pytest-flake8 +pkgver=1.0.4 +pkgrel=0 +pkgdesc="pytest plugin for efficiently checking PEP8 compliance" +url="https://pypi.org/project/pytest-flake8/" +arch="noarch" +license="3-Clause-BSD" +depends="py3-pytest py3-flake8" +makedepends="py3-setuptools" +_pypiprefix="${_pyname%${_pyname#?}}" +source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" +builddir="$srcdir/$_pyname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="39ac19f3216386dc33b7c3c7c12a026751bb636d140340eb9585e161292d74f587c3a032125380bd12834e841172bf47652c19036bd06d493abd11cefe428429 pytest-flake8-1.0.4.tar.gz" -- 2.22.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---