Skip to content

Commit cdd1c52

Browse files
authored
Auto PR: csubst v1.4.17
1 parent e127d15 commit cdd1c52

File tree

4 files changed

+43
-0
lines changed

4 files changed

+43
-0
lines changed

bioconda-recipes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 46866eb2a23d7ef50580467f5bcc2ce202cd651b

get_version.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import ast
2+
with open("./csubst/__init__.py") as f:
3+
tree = ast.parse(f.read())
4+
for node in ast.walk(tree):
5+
if isinstance(node, ast.Assign):
6+
if getattr(node.targets[0], "id", None) == "__version__":
7+
print(node.value.s)
8+
break

recipes/csubst/meta.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{% set name = "csubst" %}
2+
{% set version = "1.4.17" %}
3+
4+
package:
5+
name: "{{ name|lower }}"
6+
version: "{{ version }}"
7+
8+
source:
9+
url: https://github.com/kamome1201/csubst/archive/refs/tags/v{{ version }}.tar.gz
10+
sha256: "TO_BE_REPLACED"
11+
12+
build:
13+
number: 0
14+
noarch: python
15+
script: "{{ PYTHON }} -m pip install . -vv --ignore-installed --no-deps"
16+
17+
requirements:
18+
host:
19+
- python >=3.8
20+
- pip
21+
- setuptools
22+
- wheel
23+
run:
24+
- python >=3.8
25+
26+
test:
27+
imports:
28+
- csubst
29+
30+
about:
31+
home: "https://github.com/kfuku52/csubst"
32+
license: "BSD-3-Clause"
33+
license_file: "LICENSE"
34+
summary: "CSUBST () is a tool for analyzing Combinatorial SUBSTitutions of codon sequences in phylogenetic trees."

source.tar.gz

3.39 MB
Binary file not shown.

0 commit comments

Comments
 (0)