Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Add the optas optional package
Browse files Browse the repository at this point in the history
optas = Optimal Approximate Sampling from Discrete Probability
Distributions.
  • Loading branch information
Kerl13 committed Sep 19, 2022
1 parent b00b065 commit 8392936
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 0 deletions.
23 changes: 23 additions & 0 deletions build/pkgs/optas/SPKG.rst
@@ -0,0 +1,23 @@
optas: Optimal Approximate Sampling from Discrete Probability Distributions.
============================================================================

Description
-----------

This package provides a prototype implementation of the optimal sampling
algorithms from:

Feras A. Saad, Cameron E. Freer, Martin C. Rinard, and Vikash K. Mansinghka.
Optimal Approximate Sampling From Discrete Probability Distributions. Proc. ACM
Program. Lang. 4, POPL, Article 36 (January 2020), 33 pages.

License
-------

Apache License, Version 2.0

Upstream Contact
----------------

https://pypi.org/project/optas/
https://github.com/probcomp/optimal-approximate-sampling
5 changes: 5 additions & 0 deletions build/pkgs/optas/checksums.ini
@@ -0,0 +1,5 @@
tarball=optas-VERSION.tar.gz
sha1=fc110a1df8fec24c6fda806955841860ecde8875
md5=d3ee94398986e870208f212012e48b61
cksum=775882310
upstream_url=https://pypi.io/packages/source/o/optas/optas-VERSION.tar.gz
4 changes: 4 additions & 0 deletions build/pkgs/optas/dependencies
@@ -0,0 +1,4 @@
$(PYTHON) | $(PYTHON_TOOLCHAIN) gcc

----------
All lines of this file are ignored except the first.
1 change: 1 addition & 0 deletions build/pkgs/optas/install-requires.txt
@@ -0,0 +1 @@
optas
1 change: 1 addition & 0 deletions build/pkgs/optas/package-version.txt
@@ -0,0 +1 @@
1.0.3
1 change: 1 addition & 0 deletions build/pkgs/optas/spkg-install.in
@@ -0,0 +1 @@
cd src && sdh_pip_install .
1 change: 1 addition & 0 deletions build/pkgs/optas/type
@@ -0,0 +1 @@
optional

0 comments on commit 8392936

Please sign in to comment.