pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/py-pint: import py37-pint-0.14



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Mon Sep 14 00:31:20 2020 +0100
Changeset:	1934093aa6a55d288cd5f139c1487eede06b7b5d

Modified Files:
	py-pint/DESCR
	py-pint/Makefile
	py-pint/PLIST
	py-pint/distinfo

Log Message:
wip/py-pint: import py37-pint-0.14

Pint is a Python package to define, operate and manipulate physical quantities
the product of a numerical value and a unit of measurement. It allows arithmetic
ooperations between them and conversions from and to different units.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1934093aa6a55d288cd5f139c1487eede06b7b5d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-pint/DESCR    |  11 ++----
 py-pint/Makefile |  16 +++++----
 py-pint/PLIST    | 102 +++++++++++++++++++++++++++++++++++++++++++++----------
 py-pint/distinfo |  10 +++---
 4 files changed, 102 insertions(+), 37 deletions(-)

diffs:
diff --git a/py-pint/DESCR b/py-pint/DESCR
index 702fb07f97..391656f99e 100644
--- a/py-pint/DESCR
+++ b/py-pint/DESCR
@@ -1,8 +1,3 @@
-Pint is Python module/package to define, operate and manipulate physical
-quantities: the product of a numerical value and a unit of measurement.
-It allows arithmetic operations between them and conversions from and
-to different units.
-
-It is distributed with a comprehensive list of physical units, prefixes
-and constants. Due to it's modular design, you to extend (or even rewrite!)
-the complete list without changing the source code
+Pint is a Python package to define, operate and manipulate physical quantities
+the product of a numerical value and a unit of measurement. It allows arithmetic 
+ooperations between them and conversions from and to different units.
diff --git a/py-pint/Makefile b/py-pint/Makefile
index 129ce1d9c2..f58f24752e 100644
--- a/py-pint/Makefile
+++ b/py-pint/Makefile
@@ -1,15 +1,17 @@
-# $NetBSD: Makefile,v 1.5 2014/09/30 10:31:54 fhajny Exp $
+# $NetBSD$
 
-DISTNAME=	Pint-0.5.2
+DISTNAME=	Pint-0.14
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:tl}
-CATEGORIES=	math
-MASTER_SITES=	${MASTER_SITE_PYPI:=P/Pint/}
-EXTRACT_SUFX=	.zip
+CATEGORIES=	math python
+MASTER_SITES=	https://files.pythonhosted.org/packages/8c/97/122b87ce55c3ba7b75b3b5e9b12a55b86d72aae4cb56d1d11c93a1ff0002/
 
 MAINTAINER=	jihbed.research%gmail.com@localhost
-HOMEPAGE=	https://files.pythonhosted.org/packages/source/P/Pint/
+HOMEPAGE=	https://github.com/hgrecco/pint
 COMMENT=	Physical quantities module
-LICENSE=	modified-bsd
+#LICENSE=	# TODO: (see mk/license.mk)
 
+USE_LANGUAGES=	# none
+
+.include "../../math/py-numpy/buildlink3.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pint/PLIST b/py-pint/PLIST
index afb1ebaee5..ce452e11d0 100644
--- a/py-pint/PLIST
+++ b/py-pint/PLIST
@@ -1,69 +1,136 @@
-@comment $NetBSD: PLIST,v 1.3 2014/09/30 10:31:54 fhajny Exp $
+@comment $NetBSD$
+bin/pint-convert
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/${EGG_INFODIR}/zip-safe
 ${PYSITELIB}/pint/__init__.py
 ${PYSITELIB}/pint/__init__.pyc
 ${PYSITELIB}/pint/__init__.pyo
-${PYSITELIB}/pint/compat/__init__.py
-${PYSITELIB}/pint/compat/__init__.pyc
-${PYSITELIB}/pint/compat/__init__.pyo
-${PYSITELIB}/pint/compat/chainmap.py
-${PYSITELIB}/pint/compat/chainmap.pyc
-${PYSITELIB}/pint/compat/chainmap.pyo
-${PYSITELIB}/pint/compat/lrucache.py
-${PYSITELIB}/pint/compat/lrucache.pyc
-${PYSITELIB}/pint/compat/lrucache.pyo
-${PYSITELIB}/pint/compat/nullhandler.py
-${PYSITELIB}/pint/compat/nullhandler.pyc
-${PYSITELIB}/pint/compat/nullhandler.pyo
-${PYSITELIB}/pint/compat/transformdict.py
-${PYSITELIB}/pint/compat/transformdict.pyc
-${PYSITELIB}/pint/compat/transformdict.pyo
+${PYSITELIB}/pint/babel_names.py
+${PYSITELIB}/pint/babel_names.pyc
+${PYSITELIB}/pint/babel_names.pyo
+${PYSITELIB}/pint/compat.py
+${PYSITELIB}/pint/compat.pyc
+${PYSITELIB}/pint/compat.pyo
 ${PYSITELIB}/pint/constants_en.txt
 ${PYSITELIB}/pint/context.py
 ${PYSITELIB}/pint/context.pyc
 ${PYSITELIB}/pint/context.pyo
+${PYSITELIB}/pint/converters.py
+${PYSITELIB}/pint/converters.pyc
+${PYSITELIB}/pint/converters.pyo
 ${PYSITELIB}/pint/default_en.txt
+${PYSITELIB}/pint/definitions.py
+${PYSITELIB}/pint/definitions.pyc
+${PYSITELIB}/pint/definitions.pyo
+${PYSITELIB}/pint/errors.py
+${PYSITELIB}/pint/errors.pyc
+${PYSITELIB}/pint/errors.pyo
 ${PYSITELIB}/pint/formatting.py
 ${PYSITELIB}/pint/formatting.pyc
 ${PYSITELIB}/pint/formatting.pyo
+${PYSITELIB}/pint/matplotlib.py
+${PYSITELIB}/pint/matplotlib.pyc
+${PYSITELIB}/pint/matplotlib.pyo
 ${PYSITELIB}/pint/measurement.py
 ${PYSITELIB}/pint/measurement.pyc
 ${PYSITELIB}/pint/measurement.pyo
+${PYSITELIB}/pint/numpy_func.py
+${PYSITELIB}/pint/numpy_func.pyc
+${PYSITELIB}/pint/numpy_func.pyo
+${PYSITELIB}/pint/pint-convert
+${PYSITELIB}/pint/pint_eval.py
+${PYSITELIB}/pint/pint_eval.pyc
+${PYSITELIB}/pint/pint_eval.pyo
 ${PYSITELIB}/pint/quantity.py
 ${PYSITELIB}/pint/quantity.pyc
 ${PYSITELIB}/pint/quantity.pyo
+${PYSITELIB}/pint/registry.py
+${PYSITELIB}/pint/registry.pyc
+${PYSITELIB}/pint/registry.pyo
+${PYSITELIB}/pint/registry_helpers.py
+${PYSITELIB}/pint/registry_helpers.pyc
+${PYSITELIB}/pint/registry_helpers.pyo
+${PYSITELIB}/pint/systems.py
+${PYSITELIB}/pint/systems.pyc
+${PYSITELIB}/pint/systems.pyo
 ${PYSITELIB}/pint/testsuite/__init__.py
 ${PYSITELIB}/pint/testsuite/__init__.pyc
 ${PYSITELIB}/pint/testsuite/__init__.pyo
+${PYSITELIB}/pint/testsuite/baseline/test_basic_plot.png
+${PYSITELIB}/pint/testsuite/baseline/test_plot_with_set_units.png
 ${PYSITELIB}/pint/testsuite/helpers.py
 ${PYSITELIB}/pint/testsuite/helpers.pyc
 ${PYSITELIB}/pint/testsuite/helpers.pyo
+${PYSITELIB}/pint/testsuite/parameterized.py
+${PYSITELIB}/pint/testsuite/parameterized.pyc
+${PYSITELIB}/pint/testsuite/parameterized.pyo
+${PYSITELIB}/pint/testsuite/test_application_registry.py
+${PYSITELIB}/pint/testsuite/test_application_registry.pyc
+${PYSITELIB}/pint/testsuite/test_application_registry.pyo
+${PYSITELIB}/pint/testsuite/test_babel.py
+${PYSITELIB}/pint/testsuite/test_babel.pyc
+${PYSITELIB}/pint/testsuite/test_babel.pyo
+${PYSITELIB}/pint/testsuite/test_compat.py
+${PYSITELIB}/pint/testsuite/test_compat.pyc
+${PYSITELIB}/pint/testsuite/test_compat.pyo
+${PYSITELIB}/pint/testsuite/test_compat_downcast.py
+${PYSITELIB}/pint/testsuite/test_compat_downcast.pyc
+${PYSITELIB}/pint/testsuite/test_compat_downcast.pyo
+${PYSITELIB}/pint/testsuite/test_compat_upcast.py
+${PYSITELIB}/pint/testsuite/test_compat_upcast.pyc
+${PYSITELIB}/pint/testsuite/test_compat_upcast.pyo
 ${PYSITELIB}/pint/testsuite/test_contexts.py
 ${PYSITELIB}/pint/testsuite/test_contexts.pyc
 ${PYSITELIB}/pint/testsuite/test_contexts.pyo
+${PYSITELIB}/pint/testsuite/test_converters.py
+${PYSITELIB}/pint/testsuite/test_converters.pyc
+${PYSITELIB}/pint/testsuite/test_converters.pyo
+${PYSITELIB}/pint/testsuite/test_definitions.py
+${PYSITELIB}/pint/testsuite/test_definitions.pyc
+${PYSITELIB}/pint/testsuite/test_definitions.pyo
+${PYSITELIB}/pint/testsuite/test_errors.py
+${PYSITELIB}/pint/testsuite/test_errors.pyc
+${PYSITELIB}/pint/testsuite/test_errors.pyo
 ${PYSITELIB}/pint/testsuite/test_formatter.py
 ${PYSITELIB}/pint/testsuite/test_formatter.pyc
 ${PYSITELIB}/pint/testsuite/test_formatter.pyo
+${PYSITELIB}/pint/testsuite/test_infer_base_unit.py
+${PYSITELIB}/pint/testsuite/test_infer_base_unit.pyc
+${PYSITELIB}/pint/testsuite/test_infer_base_unit.pyo
 ${PYSITELIB}/pint/testsuite/test_issues.py
 ${PYSITELIB}/pint/testsuite/test_issues.pyc
 ${PYSITELIB}/pint/testsuite/test_issues.pyo
+${PYSITELIB}/pint/testsuite/test_matplotlib.py
+${PYSITELIB}/pint/testsuite/test_matplotlib.pyc
+${PYSITELIB}/pint/testsuite/test_matplotlib.pyo
 ${PYSITELIB}/pint/testsuite/test_measurement.py
 ${PYSITELIB}/pint/testsuite/test_measurement.pyc
 ${PYSITELIB}/pint/testsuite/test_measurement.pyo
+${PYSITELIB}/pint/testsuite/test_non_int.py
+${PYSITELIB}/pint/testsuite/test_non_int.pyc
+${PYSITELIB}/pint/testsuite/test_non_int.pyo
 ${PYSITELIB}/pint/testsuite/test_numpy.py
 ${PYSITELIB}/pint/testsuite/test_numpy.pyc
 ${PYSITELIB}/pint/testsuite/test_numpy.pyo
+${PYSITELIB}/pint/testsuite/test_numpy_func.py
+${PYSITELIB}/pint/testsuite/test_numpy_func.pyc
+${PYSITELIB}/pint/testsuite/test_numpy_func.pyo
+${PYSITELIB}/pint/testsuite/test_pint_eval.py
+${PYSITELIB}/pint/testsuite/test_pint_eval.pyc
+${PYSITELIB}/pint/testsuite/test_pint_eval.pyo
 ${PYSITELIB}/pint/testsuite/test_pitheorem.py
 ${PYSITELIB}/pint/testsuite/test_pitheorem.pyc
 ${PYSITELIB}/pint/testsuite/test_pitheorem.pyo
 ${PYSITELIB}/pint/testsuite/test_quantity.py
 ${PYSITELIB}/pint/testsuite/test_quantity.pyc
 ${PYSITELIB}/pint/testsuite/test_quantity.pyo
+${PYSITELIB}/pint/testsuite/test_systems.py
+${PYSITELIB}/pint/testsuite/test_systems.pyc
+${PYSITELIB}/pint/testsuite/test_systems.pyo
 ${PYSITELIB}/pint/testsuite/test_umath.py
 ${PYSITELIB}/pint/testsuite/test_umath.pyc
 ${PYSITELIB}/pint/testsuite/test_umath.pyo
@@ -79,3 +146,4 @@ ${PYSITELIB}/pint/unit.pyo
 ${PYSITELIB}/pint/util.py
 ${PYSITELIB}/pint/util.pyc
 ${PYSITELIB}/pint/util.pyo
+${PYSITELIB}/pint/xtranslated.txt
diff --git a/py-pint/distinfo b/py-pint/distinfo
index 909dd0d7c1..871db14f67 100644
--- a/py-pint/distinfo
+++ b/py-pint/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2014/09/30 10:31:54 fhajny Exp $
+$NetBSD$
 
-SHA1 (Pint-0.5.2.zip) = 8017605186214b25ea244876481f107408514088
-RMD160 (Pint-0.5.2.zip) = 278e25f93cc15e28c6b1d4e2fd10051a4560e06d
-SHA512 (Pint-0.5.2.zip) = 923e091fba7501ec4776c296931ed2dfd2ec7ca89b36b8664ded76f6c27859ffc3faa8ffb18bfa8a6a9bb541a08cdd7ef9a9527a1c791b337b34eb795c71cb6f
-Size (Pint-0.5.2.zip) = 134033 bytes
+SHA1 (Pint-0.14.tar.gz) = acd8ffefc5d292cf86b56082b7183f913bdeff6a
+RMD160 (Pint-0.14.tar.gz) = 57f9ac33b8410311e3a9386feee03efacf460edc
+SHA512 (Pint-0.14.tar.gz) = e58379805481d07e0a4634cdc999f0faa21da7e4fa7c7bade86c45492e130157e08e156d51e179b3a7c69f720ba0d6c20b54e91e9ab5e010f0ed515a0042cbcc
+Size (Pint-0.14.tar.gz) = 251229 bytes


Home | Main Index | Thread Index | Old Index