import py-gerrychain-0.2.12 to wip

This commit is contained in:
K.I.A.Derouiche 2020-10-27 00:36:16 +01:00
parent 44366d03ec
commit 42dd1142b5
4 changed files with 166 additions and 0 deletions

13
py-gerrychain/DESCR Normal file
View File

@ -0,0 +1,13 @@
GerryChain is a Python library for building ensembles of districting
plans using Markov chain Monte Carlo. It is developed and maintained
by the Metric Geometry and Gerrymandering Group and our network of
volunteers.
The basic workflow is to start with the geometry of an initial plan
and generate a large collection of sample plans for comparison.
Usually, we will constrain these sampled plans in such a way that
they perform at least as well as the initial plan according to
traditional districting principles, such as population balance or
compactness. Comparing the initial plan to the ensemble provides
quantitative tools for measuring whether or not it is an outlier
among the sampled plans

21
py-gerrychain/Makefile Normal file
View File

@ -0,0 +1,21 @@
# $NetBSD$
DISTNAME= gerrychain-0.2.12
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gerrychain/}
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= https://files.pythonhosted.org/packages/79/76/0ad276d1eda834f6a9e42f62488cf394548b88a25f44a1b57b386acb6b86/
COMMENT= Markov chain Monte Carlo to analyze districting plans and gerrymanders
LICENSE= modified-bsd
PYTHON_VERSIONS_INCOMPATIBLE= 27
DEPENDS+= ${PYPKGPREFIX}-matplotlib>=3.2.2:../../graphics/py-matplotlib
DEPENDS+= ${PYPKGPREFIX}-networkx>=2.4:../../math/py-networkx
DEPENDS+= ${PYPKGPREFIX}-pandas>=0.25.3:../../math/py-pandas
DEPENDS+= ${PYPKGPREFIX}-scipy>=1.2.3:../../math/py-scipy
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

126
py-gerrychain/PLIST Normal file
View File

@ -0,0 +1,126 @@
@comment $NetBSD$
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/gerrychain/__init__.py
${PYSITELIB}/gerrychain/__init__.pyc
${PYSITELIB}/gerrychain/__init__.pyo
${PYSITELIB}/gerrychain/_version.py
${PYSITELIB}/gerrychain/_version.pyc
${PYSITELIB}/gerrychain/_version.pyo
${PYSITELIB}/gerrychain/accept.py
${PYSITELIB}/gerrychain/accept.pyc
${PYSITELIB}/gerrychain/accept.pyo
${PYSITELIB}/gerrychain/chain.py
${PYSITELIB}/gerrychain/chain.pyc
${PYSITELIB}/gerrychain/chain.pyo
${PYSITELIB}/gerrychain/constraints/__init__.py
${PYSITELIB}/gerrychain/constraints/__init__.pyc
${PYSITELIB}/gerrychain/constraints/__init__.pyo
${PYSITELIB}/gerrychain/constraints/bounds.py
${PYSITELIB}/gerrychain/constraints/bounds.pyc
${PYSITELIB}/gerrychain/constraints/bounds.pyo
${PYSITELIB}/gerrychain/constraints/compactness.py
${PYSITELIB}/gerrychain/constraints/compactness.pyc
${PYSITELIB}/gerrychain/constraints/compactness.pyo
${PYSITELIB}/gerrychain/constraints/contiguity.py
${PYSITELIB}/gerrychain/constraints/contiguity.pyc
${PYSITELIB}/gerrychain/constraints/contiguity.pyo
${PYSITELIB}/gerrychain/constraints/validity.py
${PYSITELIB}/gerrychain/constraints/validity.pyc
${PYSITELIB}/gerrychain/constraints/validity.pyo
${PYSITELIB}/gerrychain/graph/__init__.py
${PYSITELIB}/gerrychain/graph/__init__.pyc
${PYSITELIB}/gerrychain/graph/__init__.pyo
${PYSITELIB}/gerrychain/graph/adjacency.py
${PYSITELIB}/gerrychain/graph/adjacency.pyc
${PYSITELIB}/gerrychain/graph/adjacency.pyo
${PYSITELIB}/gerrychain/graph/geo.py
${PYSITELIB}/gerrychain/graph/geo.pyc
${PYSITELIB}/gerrychain/graph/geo.pyo
${PYSITELIB}/gerrychain/graph/graph.py
${PYSITELIB}/gerrychain/graph/graph.pyc
${PYSITELIB}/gerrychain/graph/graph.pyo
${PYSITELIB}/gerrychain/grid.py
${PYSITELIB}/gerrychain/grid.pyc
${PYSITELIB}/gerrychain/grid.pyo
${PYSITELIB}/gerrychain/metagraph.py
${PYSITELIB}/gerrychain/metagraph.pyc
${PYSITELIB}/gerrychain/metagraph.pyo
${PYSITELIB}/gerrychain/metrics/__init__.py
${PYSITELIB}/gerrychain/metrics/__init__.pyc
${PYSITELIB}/gerrychain/metrics/__init__.pyo
${PYSITELIB}/gerrychain/metrics/compactness.py
${PYSITELIB}/gerrychain/metrics/compactness.pyc
${PYSITELIB}/gerrychain/metrics/compactness.pyo
${PYSITELIB}/gerrychain/metrics/partisan.py
${PYSITELIB}/gerrychain/metrics/partisan.pyc
${PYSITELIB}/gerrychain/metrics/partisan.pyo
${PYSITELIB}/gerrychain/partition/__init__.py
${PYSITELIB}/gerrychain/partition/__init__.pyc
${PYSITELIB}/gerrychain/partition/__init__.pyo
${PYSITELIB}/gerrychain/partition/assignment.py
${PYSITELIB}/gerrychain/partition/assignment.pyc
${PYSITELIB}/gerrychain/partition/assignment.pyo
${PYSITELIB}/gerrychain/partition/geographic.py
${PYSITELIB}/gerrychain/partition/geographic.pyc
${PYSITELIB}/gerrychain/partition/geographic.pyo
${PYSITELIB}/gerrychain/partition/partition.py
${PYSITELIB}/gerrychain/partition/partition.pyc
${PYSITELIB}/gerrychain/partition/partition.pyo
${PYSITELIB}/gerrychain/partition/subgraphs.py
${PYSITELIB}/gerrychain/partition/subgraphs.pyc
${PYSITELIB}/gerrychain/partition/subgraphs.pyo
${PYSITELIB}/gerrychain/proposals/__init__.py
${PYSITELIB}/gerrychain/proposals/__init__.pyc
${PYSITELIB}/gerrychain/proposals/__init__.pyo
${PYSITELIB}/gerrychain/proposals/proposals.py
${PYSITELIB}/gerrychain/proposals/proposals.pyc
${PYSITELIB}/gerrychain/proposals/proposals.pyo
${PYSITELIB}/gerrychain/proposals/spectral_proposals.py
${PYSITELIB}/gerrychain/proposals/spectral_proposals.pyc
${PYSITELIB}/gerrychain/proposals/spectral_proposals.pyo
${PYSITELIB}/gerrychain/proposals/tree_proposals.py
${PYSITELIB}/gerrychain/proposals/tree_proposals.pyc
${PYSITELIB}/gerrychain/proposals/tree_proposals.pyo
${PYSITELIB}/gerrychain/random.py
${PYSITELIB}/gerrychain/random.pyc
${PYSITELIB}/gerrychain/random.pyo
${PYSITELIB}/gerrychain/tree.py
${PYSITELIB}/gerrychain/tree.pyc
${PYSITELIB}/gerrychain/tree.pyo
${PYSITELIB}/gerrychain/updaters/__init__.py
${PYSITELIB}/gerrychain/updaters/__init__.pyc
${PYSITELIB}/gerrychain/updaters/__init__.pyo
${PYSITELIB}/gerrychain/updaters/compactness.py
${PYSITELIB}/gerrychain/updaters/compactness.pyc
${PYSITELIB}/gerrychain/updaters/compactness.pyo
${PYSITELIB}/gerrychain/updaters/county_splits.py
${PYSITELIB}/gerrychain/updaters/county_splits.pyc
${PYSITELIB}/gerrychain/updaters/county_splits.pyo
${PYSITELIB}/gerrychain/updaters/cut_edges.py
${PYSITELIB}/gerrychain/updaters/cut_edges.pyc
${PYSITELIB}/gerrychain/updaters/cut_edges.pyo
${PYSITELIB}/gerrychain/updaters/election.py
${PYSITELIB}/gerrychain/updaters/election.pyc
${PYSITELIB}/gerrychain/updaters/election.pyo
${PYSITELIB}/gerrychain/updaters/flows.py
${PYSITELIB}/gerrychain/updaters/flows.pyc
${PYSITELIB}/gerrychain/updaters/flows.pyo
${PYSITELIB}/gerrychain/updaters/tally.py
${PYSITELIB}/gerrychain/updaters/tally.pyc
${PYSITELIB}/gerrychain/updaters/tally.pyo
${PYSITELIB}/gerrychain/vendor/__init__.py
${PYSITELIB}/gerrychain/vendor/__init__.pyc
${PYSITELIB}/gerrychain/vendor/__init__.pyo
${PYSITELIB}/gerrychain/vendor/utm/__init__.py
${PYSITELIB}/gerrychain/vendor/utm/__init__.pyc
${PYSITELIB}/gerrychain/vendor/utm/__init__.pyo
${PYSITELIB}/gerrychain/vendor/utm/conversion.py
${PYSITELIB}/gerrychain/vendor/utm/conversion.pyc
${PYSITELIB}/gerrychain/vendor/utm/conversion.pyo
${PYSITELIB}/gerrychain/vendor/utm/error.py
${PYSITELIB}/gerrychain/vendor/utm/error.pyc
${PYSITELIB}/gerrychain/vendor/utm/error.pyo

6
py-gerrychain/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (gerrychain-0.2.12.tar.gz) = fde7fe845ac662311f275e5ec2480ac2fccc5bd2
RMD160 (gerrychain-0.2.12.tar.gz) = e26b7b4528b0908bdecd3d17de1eb55d1828b849
SHA512 (gerrychain-0.2.12.tar.gz) = 542f9160391d4a8d602c5c57194224b39aeb9fa0fa177812c73c80ddf0ca7084fff1be0c94cc233ea0cf61825c3a1e0b2c15c5ca43fc89f6fe6b2bb09575feba
Size (gerrychain-0.2.12.tar.gz) = 54389 bytes