aboutsummaryrefslogtreecommitdiff
path: root/math/py-fraction
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-25 12:45:34 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-25 13:36:37 +0000
commita314f8f1ce3e229e6ddb6f552ada350c08f45afe (patch)
tree010133253bb2ac98d5eb38da06666c06e9462455 /math/py-fraction
parenta68499802fe59b9262de70cdd6726c9d644a42a3 (diff)
downloadports-a314f8f1ce3e229e6ddb6f552ada350c08f45afe.tar.gz
ports-a314f8f1ce3e229e6ddb6f552ada350c08f45afe.zip
math/py-fraction: Add py-fraction 2.1.1
fraction is a Python module that is designed for fractional values numerator/denominator. WWW: https://github.com/bradley101/fraction
Diffstat (limited to 'math/py-fraction')
-rw-r--r--math/py-fraction/Makefile21
-rw-r--r--math/py-fraction/distinfo3
-rw-r--r--math/py-fraction/pkg-descr4
3 files changed, 28 insertions, 0 deletions
diff --git a/math/py-fraction/Makefile b/math/py-fraction/Makefile
new file mode 100644
index 000000000000..b27fa51eed15
--- /dev/null
+++ b/math/py-fraction/Makefile
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= fraction
+PORTVERSION= 2.1.1
+CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= Fraction-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Carry out all the fraction operations
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/py-fraction/distinfo b/math/py-fraction/distinfo
new file mode 100644
index 000000000000..cb164375817b
--- /dev/null
+++ b/math/py-fraction/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1647264406
+SHA256 (Fraction-2.1.1.tar.gz) = 75a27c61c68f357dbb8ea395eab932b3a16a3aa2b6aa44a052bcef319724f882
+SIZE (Fraction-2.1.1.tar.gz) = 4568
diff --git a/math/py-fraction/pkg-descr b/math/py-fraction/pkg-descr
new file mode 100644
index 000000000000..f7cc9ec4e0e8
--- /dev/null
+++ b/math/py-fraction/pkg-descr
@@ -0,0 +1,4 @@
+fraction is a Python module that is designed for fractional values
+numerator/denominator.
+
+WWW: https://github.com/bradley101/fraction