Skip to content

Commit

Permalink
Merge pull request #6853 from FHaase/flake8-rst
Browse files Browse the repository at this point in the history
Added flake8-rst
  • Loading branch information
synapticarbors authored Oct 20, 2018
2 parents 324068a + ab90621 commit 31b9494
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
19 changes: 19 additions & 0 deletions recipes/flake8-rst/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2018 The Python Packaging Authority

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
46 changes: 46 additions & 0 deletions recipes/flake8-rst/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{% set name = "flake8-rst" %}
{% set version = "0.4.1" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: ec9c7b7a5475c0b3ce8aee4db951f33beffad68bdb79d99d45788d4aa083ce52

build:
number: 0
noarch: python
entry_points:
- flake8-rst = flake8_rst.cli:main
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv "

requirements:
host:
- flake8 >=3.5.0
- pip
- python
run:
- flake8 >=3.5.0
- python

test:
imports:
- flake8_rst
commands:
- flake8-rst --help

about:
home: https://github.com/kataev/flake8-rst
license: MIT
license_family: MIT
# LICENSE File currently missing from sdist. ref [PR 1](https://github.com/kataev/flake8-rst/pull/1)
license_file: LICENSE
summary: flake8 for code in rst files and docstrings
doc_url: https://github.com/kataev/flake8-rst
dev_url: https://github.com/kataev/flake8-rst

extra:
recipe-maintainers:
- FHaase

0 comments on commit 31b9494

Please sign in to comment.