-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17075 from awvwgk/fprettify
Add recipe for fprettify
- Loading branch information
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/setup.py b/setup.py | ||
index f0b2cdd..8cbb12e 100755 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env python | ||
-from setuptools import setup | ||
+from setuptools import setup, find_packages | ||
from codecs import open | ||
from os import path | ||
|
||
@@ -16,7 +16,7 @@ setup(name='fprettify', | ||
author_email='[email protected]', | ||
license='GPLv3', | ||
entry_points={'console_scripts': ['fprettify = fprettify:run']}, | ||
- packages=['fprettify'], | ||
+ packages=find_packages(), | ||
install_requires=[ | ||
'configargparse', | ||
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{% set name = "fprettify" %} | ||
{% set version = "0.3.7" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/pseewald/{{ name }}/archive/v{{ version }}.tar.gz | ||
sha256: 052da19a9080a6641d3202e10572cf3d978e6bcc0e7db29c1eb8ba724e89adc7 | ||
patches: | ||
- find_package.patch | ||
|
||
build: | ||
number: 0 | ||
script: | ||
- {{ PYTHON }} -m pip install . -vv | ||
noarch: python | ||
entry_points: | ||
- {{ name }} = {{ name }}:run | ||
|
||
requirements: | ||
host: | ||
- python >=3.5 | ||
- pip | ||
run: | ||
- python >=3.5 | ||
- configargparse | ||
|
||
test: | ||
source_files: | ||
- fortran_tests/ | ||
- run_tests.py | ||
imports: | ||
- {{ name }} | ||
commands: | ||
- {{ name }} --version | ||
- python run_tests.py | ||
|
||
about: | ||
license: GPL-3.0-or-later | ||
license_family: GPL | ||
license_file: LICENSE | ||
summary: Auto-formatter for modern fortran source code | ||
home: https://github.com/pseewald/fprettify/ | ||
|
||
extra: | ||
recipe-maintainers: | ||
- awvwgk |