Received: from mail.ovgu.de (mail.ovgu.de [141.44.1.66]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 4622B782B20 for ; Sat, 13 Jul 2019 11:43:25 +0000 (UTC) Received: from mail.ovgu.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 19EA34005F for ; Sat, 13 Jul 2019 13:43:25 +0200 (CEST) Received: from localhost.localdomain (x590c5feb.dyn.telefonica.de [89.12.95.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.ovgu.de (Postfix) with ESMTPSA id 49F0440066; Sat, 13 Jul 2019 13:42:58 +0200 (CEST) From: Marian Buschsieweke To: alpine-aports@lists.alpinelinux.org Cc: Marian Buschsieweke Subject: [PATCH 2/8] testing/py3-precis-i18n: New aport Date: Sat, 13 Jul 2019 13:42:40 +0200 Message-Id: <20190713114246.17619-2-marian.buschsieweke@ovgu.de> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190713114246.17619-1-marian.buschsieweke@ovgu.de> References: <20190713114246.17619-1-marian.buschsieweke@ovgu.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-PMX-Version: 6.4.6.2792898, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2019.7.13.113616, AntiVirus-Engine: 5.63.0, AntiVirus-Data: 2019.6.12.5630001 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1900_1999 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, HELLO_LOCALHOST_LOCALDOMAIN 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, MULTIPLE_REAL_RCPTS 0, RCVD_LOCALHOST_LOCALDOMAIN 0, REFERENCES 0, URI_WITH_PATH_ONLY 0, __ANY_URI 0, __BODY_NO_MAILTO 0, __CC_NAME 0, __CC_NAME_DIFF_FROM_ACC 0, __CC_REAL_NAMES 0, __COURIER_PHRASE 0, __CP_URI_IN_BODY 0, __CTE 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __FROM_DOMAIN_IN_ANY_CC1 0, __FROM_DOMAIN_IN_RCPT 0, __HAS_CC_HDR 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_REFERENCES 0, __HAS_X_MAILER 0, __HTTPS_URI 0, __INVOICE_MULTILINGUAL 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MULTIPLE_URI_TEXT 0, __NO_HTML_TAG_RAW 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0' X-Spam-Score: Gauge= X-PMX-consideredAsSpam: no Internationalized Usernames and Passwords https://github.com/byllyfish/precis_i18n --- testing/py3-precis-i18n/APKBUILD | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 testing/py3-precis-i18n/APKBUILD diff --git a/testing/py3-precis-i18n/APKBUILD b/testing/py3-precis-i18n/APKBUILD new file mode 100644 index 0000000000..cba48a67f9 --- /dev/null +++ b/testing/py3-precis-i18n/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Marian Buschsieweke +# Maintainer: Marian Buschsieweke +pkgname=py3-precis-i18n +_pkgname=precis-i18n +pkgver=1.0 +pkgrel=0 +pkgdesc="Internationalized Usernames and Passwords" +url="https://github.com/byllyfish/precis_i18n" +arch="noarch" +license="MIT" +makedepends="python3-dev py-setuptools" +source=" + $_pkgname-$pkgver.tar.gz::https://github.com/byllyfish/precis_i18n/archive/v${pkgver}.tar.gz + $_pkgname-$pkgver-derived-props-11.0.txt::https://github.com/byllyfish/precis_i18n/raw/f68b66a80fa36ff1004f5a88696edb424a75dd76/test/derived-props-11.0.txt + " +builddir="$srcdir"/${_pkgname/-/_}-$pkgver + +prepare() { + default_prepare + # Somehow one file required for the unit tests is not included in the release + cp "$srcdir"/$_pkgname-$pkgver-derived-props-11.0.txt "$builddir"/test/derived-props-11.0.txt +} + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +check() { + cd "$builddir" + python3 setup.py test +} +sha512sums="b43622458fefb051e6f5ae6e347abfa65195052c63290b2be3ffb7c05eae0300caee53713d7216ee36c4ef0508cc4828e4d7ed3c65df873a684b803cc19bd410 precis-i18n-1.0.tar.gz +df144b1790483055d9f6430c543892feed70402df6e0177daa94e005b5f9797f5885d7a5c1393a8a4555bcd0f7e85444f9e9f1152141b817f4e911bc2481e8bc precis-i18n-1.0-derived-props-11.0.txt" -- 2.22.0