Add a py-fiscalyear package (#3864)

* Add a py-fiscalyear package

* Declare supported Python versions
This commit is contained in:
Adam J. Stewart
2017-04-17 16:46:52 -05:00
committed by GitHub
parent ebf30d95cd
commit 6d7b386199
5 changed files with 155 additions and 6 deletions

View File

@@ -28,11 +28,24 @@
class PyPytest(PythonPackage):
"""pytest: simple powerful testing with Python."""
homepage = "http://doc.pytest.org/en/latest/"
url = "https://pypi.python.org/packages/source/p/pytest/pytest-3.0.2.tar.gz"
homepage = "http://pytest.org/"
url = "https://pypi.io/packages/source/p/pytest/pytest-3.0.7.tar.gz"
version('3.0.2', '61dc36e65a6f6c11c53b1388e043a9f5',
url="https://pypi.python.org/packages/2b/05/e20806c99afaff43331f5fd8770bb346145303882f98ef3275fa1dd66f6d/pytest-3.0.2.tar.gz")
import_modules = [
'_pytest', '_pytest.assertion', '_pytest._code',
'_pytest.vendored_packages', 'pytest'
]
depends_on('py-setuptools', type='build')
version('3.0.7', '89c60546507dc7eb6e9e40a6e9f720bd')
version('3.0.2', '61dc36e65a6f6c11c53b1388e043a9f5')
# Most Python packages only require setuptools as a build dependency.
# However, pytest requires setuptools during runtime as well.
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-py@1.4.29:', type=('build', 'run'))
depends_on('py-hypothesis@3.5.2:', type=('build', 'run'))
# TODO: Add a 'test' deptype
# depends_on('py-nose', type='test')
# depends_on('py-mock', type='test')
# depends_on('py-requests', type='test')