parent
24c01d57cf
commit
89b57929f2
1 changed files with 4 additions and 2 deletions
|
@ -12,18 +12,20 @@ class PyPox(PythonPackage):
|
||||||
homepage = "https://github.com/uqfoundation/pox"
|
homepage = "https://github.com/uqfoundation/pox"
|
||||||
pypi = "pox/pox-0.2.5.tar.gz"
|
pypi = "pox/pox-0.2.5.tar.gz"
|
||||||
|
|
||||||
|
version('0.3.0', sha256='cb968350b186466bb4905a21084587ec3aa6fd7aa0ef55d416ee0d523e2abe31')
|
||||||
version('0.2.5', sha256='2b53fbdf02596240483dc2cb94f94cc21252ad1b1858c7b1c151afeec9022cc8')
|
version('0.2.5', sha256='2b53fbdf02596240483dc2cb94f94cc21252ad1b1858c7b1c151afeec9022cc8')
|
||||||
version('0.2.3', sha256='d3e8167a1ebe08ae56262a0b9359118d90bc4648cd284b5d10ae240343100a75')
|
version('0.2.3', sha256='d3e8167a1ebe08ae56262a0b9359118d90bc4648cd284b5d10ae240343100a75')
|
||||||
version('0.2.2', sha256='c0b88e59ef0e4f2fa4839e11bf90d2c32d6ceb5abaf01f0c8138f7558e6f87c1')
|
version('0.2.2', sha256='c0b88e59ef0e4f2fa4839e11bf90d2c32d6ceb5abaf01f0c8138f7558e6f87c1')
|
||||||
version('0.2.1', sha256='580bf731fee233c58eac0974011b5bf0698efb7337b0a1696d289043b4fcd7f4')
|
version('0.2.1', sha256='580bf731fee233c58eac0974011b5bf0698efb7337b0a1696d289043b4fcd7f4')
|
||||||
|
|
||||||
depends_on('python@2.5:2.8,3.1:')
|
depends_on('python@2.5:2.8,3.1:', type=('build', 'run'))
|
||||||
|
depends_on('python@2.7:2.8,3.6:', when='@0.3.0:', type=('build', 'run'))
|
||||||
|
|
||||||
depends_on('py-setuptools@0.6:', type='build')
|
depends_on('py-setuptools@0.6:', type='build')
|
||||||
|
|
||||||
def url_for_version(self, version):
|
def url_for_version(self, version):
|
||||||
url = "https://pypi.io/packages/source/p/pox/"
|
url = "https://pypi.io/packages/source/p/pox/"
|
||||||
if version >= Version('0.2.4'):
|
if Version('0.3.0') > version >= Version('0.2.4'):
|
||||||
url += 'pox-{0}.tar.gz'
|
url += 'pox-{0}.tar.gz'
|
||||||
else:
|
else:
|
||||||
url += 'pox-{0}.zip'
|
url += 'pox-{0}.zip'
|
||||||
|
|
Loading…
Reference in a new issue