Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id DEE777810F1 for ; Wed, 29 Dec 2021 19:23:33 +0000 (UTC) Received: by mail-io1-f50.google.com with SMTP id q5so27198139ioj.7 for ; Wed, 29 Dec 2021 11:23:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SjFFqh8n1KrJ+da/HxC7rL/w7vkz9KoK4us8FH5qTkU=; b=hvOYmaqbl9AZrj1X9D1Eoj5ba8/+zcxhiPA4uumkQAIvp2rd17KZFZAQTfSwCjoR2D 95JYkAai7Jy5yW0wYaQAx4biusskWFlbFN7xgJNp2dYw+0mx/Y8bMKh6uP/2CNpZh/in St5Ha7DNtc7WAbN5wvZTHP03gstqFBYbMJ3pMjbEkzUH+Honm6gYW1mTjAavsGKUvRfY O9dx0e9fl2iohfyB4pHl61AWmJaLIEpUGZZ1Vy6IR+m1d5ObNa797VqRpUn6zGv9Y1sK tuTozVkGNlGw6egPY9gB+6b/l/pDo6vHtKzGUz0w08+xR0nrxG2kDmpM9LQU7FtzdjaE ngyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SjFFqh8n1KrJ+da/HxC7rL/w7vkz9KoK4us8FH5qTkU=; b=mCDe7KI9TVSg3BTd6Vyl86jM3gp8LCZaZ9vDDOPdVaWJ/CTzryX1pQvzYFPDa6zDGd V/tBEwVvKY1Firiqc1D/xJZ7z7+CGwJca9jXok9Zi2ZkVXZexld6nJa2wcCBTzOUndh3 7Xx2PJuhvdYUCICe6PvbnSesm86kAXjp2d0Nc27IXOtqdcptjEiA5oOPeZuCY4gnQRgf TkosmrdCgQSqXFAelIngjtvfhvFR6IRpCEWRtPqawZJdwGBgo/W8tQz2ItjEKCrWQu8L IECxmnpmEGCJY4dloS80/ouen5NKUPnPT/my3OK0gzSOKYkMk8Y0P+2V6Eoyr5LdG8o9 e3xA== X-Gm-Message-State: AOAM532Ch8YQTuRMZL5HR1i3XR6S++xp7hY1B3/xf2LjOLHr3ZYnthZe THa7X05dJJ8DCeK3IBNl17CJjGsSsApskw== X-Google-Smtp-Source: ABdhPJyXz0X9RnOcBixURONoKlxSGvdryUOsR3gxhcquory+QztGwDeBSze11J9q7TSgK3CnUIcc+g== X-Received: by 2002:a05:6602:2a44:: with SMTP id k4mr12849911iov.43.1640805812695; Wed, 29 Dec 2021 11:23:32 -0800 (PST) Received: from knol.members.linode.com ([2600:3c04::f03c:92ff:fe34:3b3a]) by smtp.gmail.com with ESMTPSA id d16sm12435341ila.51.2021.12.29.11.23.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 11:23:32 -0800 (PST) From: Thiago Perrotta To: alpine-aports@lists.alpinelinux.org Cc: Thiago Perrotta Subject: [PATCH] testing/urlwatch: new aport Date: Wed, 29 Dec 2021 14:23:16 -0500 Message-Id: <20211229192316.20625-1-tbperrotta@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <64080489815.24590.14389591634708277844.gitlab.28987.5e06ea5c9939650b9a149b6ecd73e531e86d9230@listserv.local> References: <64080489815.24590.14389591634708277844.gitlab.28987.5e06ea5c9939650b9a149b6ecd73e531e86d9230@listserv.local> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://thp.io/2008/urlwatch/ Tool for monitoring webpages for updates Signed-off-by: Thiago Perrotta --- Address psykose's comment, splitting depends entries on individual lines. I am leaving checkdepends() untouched as it only contains three items. testing/urlwatch/APKBUILD | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/urlwatch/APKBUILD diff --git a/testing/urlwatch/APKBUILD b/testing/urlwatch/APKBUILD new file mode 100644 index 0000000000..c702f82b3c --- /dev/null +++ b/testing/urlwatch/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Thiago Perrotta +# Maintainer: Thiago Perrotta +pkgname=urlwatch +pkgver=2.24 +pkgrel=0 +pkgdesc="Tool for monitoring webpages for updates" +url="https://thp.io/2008/urlwatch/" +arch="noarch" +license="BSD-3-Clause" +depends=" + python3 + py3-appdirs + py3-cssselect + py3-keyring + py3-lxml + py3-minidb + py3-requests + py3-yaml + " +makedepends="py3-setuptools" +checkdepends="py3-pytest py3-docutils py3-pycodestyle" +subpackages="$pkgname-doc" +source="https://files.pythonhosted.org/packages/source/u/urlwatch/urlwatch-$pkgver.tar.gz" + +build() { + python3 setup.py build +} + +check() { + pytest +} + +package() { + python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING +} + +sha512sums=" +ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52 urlwatch-2.24.tar.gz +" -- 2.34.1