aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-05-01 22:01:29 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-09 20:05:22 +0000
commitb3daabd1c493b39f47c5ea34ff0015edb3f6c006 (patch)
tree669a60366c4567c15bf60aaaec1b1d36aa5f9591 /testing
parentacd0f69d98e4b7ab9aa3f0cb2bee663b4bd12a7c (diff)
downloadaports-b3daabd1c493b39f47c5ea34ff0015edb3f6c006.tar.bz2
aports-b3daabd1c493b39f47c5ea34ff0015edb3f6c006.tar.xz
testing/py3-pymeeus: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-pymeeus/APKBUILD28
-rw-r--r--testing/py3-pymeeus/relax-dep-requirements.patch41
2 files changed, 69 insertions, 0 deletions
diff --git a/testing/py3-pymeeus/APKBUILD b/testing/py3-pymeeus/APKBUILD
new file mode 100644
index 0000000000..27b47e0ae0
--- /dev/null
+++ b/testing/py3-pymeeus/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Bart Ribberse <bribbers@disroot.org>
+# Maintainer: Bart Ribberse <bribbers@disroot.org>
+pkgname=py3-pymeeus
+pkgver=0.3.7
+pkgrel=0
+pkgdesc="ython implementation of Jean Meeus astronomical routines"
+url="https://github.com/architest/pymeeus"
+arch="noarch"
+license="LGPL-3.0-or-later"
+depends="python3 py3-atomicwrites py3-attrs py3-funcsigs py3-more-itertools py3-pathlib2 py3-pluggy py3-py py3-six"
+makedepends="py3-setuptools"
+checkdepends="py3-coverage py3-flake8 py3-mccabe py3-pycodestyle py3-pyflakes py3-pytest py3-pytest-cov"
+source="https://pypi.python.org/packages/source/P/PyMeeus/PyMeeus-$pkgver.tar.gz"
+builddir="$srcdir/PyMeeus-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="834fd3329437827a65a653b5bde9070e049a7932cac3ce06edfdfbd8efd6649b96de9ce46c032b18a7413bcf30d012f21857442e9dd2cf1f0ef23434682cf5e0 PyMeeus-0.3.7.tar.gz"
diff --git a/testing/py3-pymeeus/relax-dep-requirements.patch b/testing/py3-pymeeus/relax-dep-requirements.patch
new file mode 100644
index 0000000000..3aa6adac0d
--- /dev/null
+++ b/testing/py3-pymeeus/relax-dep-requirements.patch
@@ -0,0 +1,41 @@
+diff --git a/requirements.txt b/requirements.txt
+index a104833..952532a 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,18 +1,18 @@
+-atomicwrites==1.2.1
+-attrs==18.2.0
+-configparser==3.5.0
+-coverage==4.5.2
+-enum34==1.1.6
+-flake8==3.6.0
+-funcsigs==1.0.2
+-mccabe==0.6.1
+-more-itertools==4.3.0
+-pathlib2==2.3.2
+-pluggy==0.8.0
+-py==1.7.0
+-pycodestyle==2.4.0
+-pyflakes==2.0.0
+-pytest==4.0.1
+-pytest-cov==2.6.0
+-scandir==1.9.0
+-six==1.11.0
++atomicwrites>=1.2.1
++attrs>=18.2.0
++configparser>=3.5.0
++coverage>=4.5.2
++enum34>=1.1.6
++flake8>=3.6.0
++funcsigs>=1.0.2
++mccabe>=0.6.1
++more-itertools>=4.3.0
++pathlib2>=2.3.2
++pluggy>=0.8.0
++py>=1.7.0
++pycodestyle>=2.4.0
++pyflakes>=2.0.0
++pytest>=4.0.1
++pytest-cov>=2.6.0
++scandir>=1.9.0
++six>=1.11.0