| 
									
										
										
										
											2017-03-15 19:33:57 +00:00
										 |  |  | # Copyright 2017 Julian Ospald <hasufell@posteo.de> | 
					
						
							|  |  |  | # Distributed under the terms of the GNU General Public License v2 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | require github [ user="evhub" tag="v${PV}" ] | 
					
						
							|  |  |  | require pypi setup-py [ import=setuptools ] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | SUMMARY="Simple, elegant, Pythonic functional programming" | 
					
						
							|  |  |  | DESCRIPTION="
 | 
					
						
							|  |  |  | Coconut is a functional programming language that compiles to Python. Since all | 
					
						
							|  |  |  | valid Python is valid Coconut, using Coconut will only extend and enhance what | 
					
						
							|  |  |  | you're already capable of in Python. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Why use Coconut? Coconut is built to be fundamentally useful. Coconut enhances | 
					
						
							|  |  |  | the repertoire of Python programmers to include the tools of modern functional | 
					
						
							|  |  |  | programming, in such a way that those tools are easy to use and immensely | 
					
						
							|  |  |  | powerful; that is, Coconut does to functional programming what Python did to | 
					
						
							|  |  |  | imperative programming. And Coconut code runs the same on any Python version, | 
					
						
							|  |  |  | making the Python 2/3 split a thing of the past. | 
					
						
							|  |  |  | "
 | 
					
						
							|  |  |  | HOMEPAGE="http://coconut-lang.org/ ${HOMEPAGE}" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | LICENCES="Apache-2.0" | 
					
						
							|  |  |  | SLOT="0" | 
					
						
							|  |  |  | PLATFORMS="~amd64 ~x86" | 
					
						
							|  |  |  | MYOPTIONS="" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | RESTRICT="test" # missing deps | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | DEPENDENCIES="
 | 
					
						
							|  |  |  |     build+run: | 
					
						
							| 
									
										
										
										
											2017-05-18 17:05:02 +00:00
										 |  |  |         dev-python/Pygments[>=2.2][python_abis:*(-)?] | 
					
						
							|  |  |  |         dev-python/prompt_toolkit[>=1.0][python_abis:*(-)?] | 
					
						
							|  |  |  |         dev-python/pyparsing[>=2.2.0&<2.2.1][python_abis:*(-)?] | 
					
						
							|  |  |  |         python_abis:2.7? ( dev-python/futures[>=3.1][python_abis:2.7] ) | 
					
						
							| 
									
										
										
										
											2017-03-17 21:48:00 +00:00
										 |  |  |     suggestion: | 
					
						
							| 
									
										
										
										
											2017-11-25 15:43:26 +00:00
										 |  |  |         dev-python/mypy[>=0.540] [[ description = [ coconut can run mypy on the compiled python code ] ]] | 
					
						
							| 
									
										
										
										
											2017-03-15 19:33:57 +00:00
										 |  |  | "
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | BUGS_TO="hasufell@posteo.de" | 
					
						
							|  |  |  | 
 |