mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 07:28:01 -05:00
pytest
This commit is contained in:
22
packages/py3_attrs.rb
Normal file
22
packages/py3_attrs.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_attrs < Package
|
||||
description 'Attrs removes the need to implement object protocols in classes.'
|
||||
homepage 'https://www.attrs.org/'
|
||||
@_ver = '21.2.0'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/python-attrs/attrs.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
22
packages/py3_iniconfig.rb
Normal file
22
packages/py3_iniconfig.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_iniconfig < Package
|
||||
description 'Iniconfig provides simple config-ini parsing.'
|
||||
homepage 'https://github.com/pytest-dev/iniconfig/'
|
||||
@_ver = '1.1.1'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/pytest-dev/iniconfig.git'
|
||||
git_hashtag 'v' + @_ver
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
28
packages/py3_pytest.rb
Normal file
28
packages/py3_pytest.rb
Normal file
@@ -0,0 +1,28 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_pytest < Package
|
||||
description 'Pytest is simple powerful testing with Python.'
|
||||
homepage 'https://pytest.org/'
|
||||
@_ver = '6.2.4'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/pytest-dev/pytest.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_py'
|
||||
depends_on 'py3_toml'
|
||||
depends_on 'py3_packaging'
|
||||
depends_on 'py3_attrs'
|
||||
depends_on 'py3_pluggy'
|
||||
depends_on 'py3_iniconfig'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user