Skip to content

Commit

Permalink
ADD: split_paf
Browse files Browse the repository at this point in the history
  • Loading branch information
harazono committed Nov 7, 2022
2 parents e607be0 + 0bd41f6 commit f910c82
Show file tree
Hide file tree
Showing 52 changed files with 1,192 additions and 2,010 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ build
*.fq
*.fq.index
edit.*
Makefile
.vscode
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ The princple is that 3rd party libraries and their derivatives
are basically licensed under their original licenses, while
what we developed from scratch are licensed under the modified BSD.
The 3rd party libraries include SQLite3 (http://www.sqlite.org/), sqdbcpp
(http://code.google.com/p/sqdbcpp/).
(http://code.google.com/p/sqdbcpp/), imgcat2 (modified from imgcat, https://iterm2.com/3.2/documentation-images.html).

35 changes: 35 additions & 0 deletions conda/before_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

if [[ ! -n CONDA_EXE ]]; then
echo "ERROR: This script must be executed from a conda environment."
exit 2
fi

# Make sure that this script is sourced.
# See https://stackoverflow.com/questions/2683279/how-to-detect-if-a-script-is-being-sourced for details.
is_sourced() {
if [ -n "$ZSH_VERSION" ]; then
case $ZSH_EVAL_CONTEXT in *:file:*) return 0;; esac
else # Add additional POSIX-compatible shell names here, if needed.
case ${0##*/} in dash|bash|ksh|sh) return 0;; esac
fi
return 1
}

if is_sourced ; then
module unload gcc
unset CFLAGS
unset CPPFLAGS
unset CXXFLAGS
unset LDFLAGS
unset FCFLAGS
unset JAVA_HOME
unset FC
export CONDA_BUILD=1
conda activate build
unset FC
export CPPFLAGS="-DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /include"
export CFLAGS="-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /include -fdebug-prefix-map==/usr/local/src/conda/- -fdebug-prefix-map==/usr/local/src/conda-prefix"
export LDFLAGS="-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/lib -Wl,-rpath-link,/lib -L/lib"
else
echo "ERROR: This script must be sourced."
fi
4 changes: 4 additions & 0 deletions conda/glow/1.4.1/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@


mkdir -p ${PREFIX}/bin/
cp glow ${PREFIX}/bin/
15 changes: 15 additions & 0 deletions conda/glow/1.4.1/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{% set version = "1.4.1" %}

package:
name: glow
version: {{ version }}

source:
url: https://github.com/charmbracelet/glow/releases/download/v{{ version }}/glow_{{ version }}_linux_x86_64.tar.gz

build:
binary_relocation: False

about:
home: https://github.com/charmbracelet/glow/
license: MIT
1 change: 1 addition & 0 deletions conda/glow/latest
5 changes: 5 additions & 0 deletions conda/gtags/6.6.7/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@


./configure --prefix=${PREFIX}
make
make install
11 changes: 11 additions & 0 deletions conda/gtags/6.6.7/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% set version = "6.6.7" %}

package:
name: gnu-global
version: {{ version }}

source:
url: https://ftp.gnu.org/pub/gnu/global/global-{{ version }}.tar.gz

about:
home: https://www.gnu.org/
5 changes: 5 additions & 0 deletions conda/gtags/6.6.8/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@


./configure --prefix=${PREFIX}
make
make install
20 changes: 20 additions & 0 deletions conda/gtags/6.6.8/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{% set version = "6.6.8" %}

package:
name: gnu-global
version: {{ version }}

source:
url: https://ftp.gnu.org/pub/gnu/global/global-{{ version }}.tar.gz

requirements:
build:
- python >=3.6
- libiconv
- ncurses
run:
- libiconv
- ncurses

about:
home: https://www.gnu.org/
1 change: 1 addition & 0 deletions conda/gtags/latest
2 changes: 2 additions & 0 deletions conda/neovim/0.7.0/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

cp -r bin lib share ${PREFIX}/
12 changes: 12 additions & 0 deletions conda/neovim/0.7.0/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% set version = "0.7.0" %}

package:
name: neovim
version: {{ version }}

source:
url: https://github.com/neovim/neovim/releases/download/v{{ version }}/nvim-linux64.tar.gz

about:
home: https://github.com/neovim/neovim/
license: CharityWare
1 change: 1 addition & 0 deletions conda/neovim/latest
37 changes: 37 additions & 0 deletions conda/python-neovim/0.3.1/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% set name = "python-neovim" %}
{% set orig_name = "neovim" %}
{% set version = "0.3.1" %}

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

source:
url: "https://pypi.io/packages/source/{{ orig_name[0] }}/{{ orig_name }}/{{ orig_name }}-{{ version }}.tar.gz"
sha256: a6a0e7a5b4433bf4e6ddcbc5c5ff44170be7d84259d002b8e8d8fb4ee78af60f

build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv"

requirements:
host:
- pip
- pynvim >=0.3.1
- python
run:
- pynvim >=0.3.1
- python

about:
home: "http://github.com/neovim/python-client"
license: Apache
license_family: APACHE
license_file:
summary: "Transition packgage for pynvim"
doc_url:
dev_url:

extra:
recipe-maintainers:
- your-github-id-here
37 changes: 37 additions & 0 deletions conda/python-neovim/0.4.3/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% set name = "python-neovim" %}
{% set orig_name = "neovim" %}
{% set version = "0.4.3" %}

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

source:
url: "https://pypi.io/packages/source/{{ orig_name[0] }}/{{ orig_name }}/{{ orig_name }}-{{ version }}.tar.gz"
sha256: a6a0e7a5b4433bf4e6ddcbc5c5ff44170be7d84259d002b8e8d8fb4ee78af60f

build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv"

requirements:
host:
- pip
- pynvim >=0.4.3
- python
run:
- pynvim >=0.4.3
- python

about:
home: "http://github.com/neovim/python-client"
license: Apache
license_family: APACHE
license_file:
summary: "Transition packgage for pynvim"
doc_url:
dev_url:

extra:
recipe-maintainers:
- your-github-id-here
1 change: 1 addition & 0 deletions conda/python-neovim/latest
15 changes: 15 additions & 0 deletions conda/q/2.0.19/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# symlink is not allowed to install
rm -f bin/qtextasdata.py
# six==1.11.0 version requirement is too hard
if [[ "$($PYTHON -V | cut -d' ' -f2)" =~ "^3.8" ]]; then
perl -ple 's/six==([\d\.]+)/six==1.14.0/' -i.orig setup.py
elif [[ "$($PYTHON -V | cut -d' ' -f2)" =~ "^3.9" ]]; then
perl -ple 's/six==([\d\.]+)/six==1.15.0/' -i.orig setup.py
fi

# install as usual
$PYTHON setup.py install --single-version-externally-managed --record record.txt


3 changes: 3 additions & 0 deletions conda/q/2.0.19/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
python:
- 3.8
- 3.9
21 changes: 21 additions & 0 deletions conda/q/2.0.19/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{% set version = "2.0.19" %}

package:
name: q
version: {{ version }}

source:
url: https://github.com/harelba/q/archive/{{ version }}.tar.gz

requirements:
build:
- python {{ python }}
- setuptools
- six

run:
- python
- six

about:
home: http://harelba.github.io/q/
15 changes: 15 additions & 0 deletions conda/q/3.1.6/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# symlink is not allowed to install
rm -f bin/qtextasdata.py
# six==1.11.0 version requirement is too hard
if [[ "$($PYTHON -V | cut -d' ' -f2)" =~ "^3.8" ]]; then
perl -ple 's/six==([\d\.]+)/six==1.14.0/' -i.orig setup.py
elif [[ "$($PYTHON -V | cut -d' ' -f2)" =~ "^3.9" ]]; then
perl -ple 's/six==([\d\.]+)/six==1.15.0/' -i.orig setup.py
fi

# install as usual
$PYTHON setup.py install --single-version-externally-managed --record record.txt


4 changes: 4 additions & 0 deletions conda/q/3.1.6/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
python:
- 3.8
- 3.9
- 3.10
21 changes: 21 additions & 0 deletions conda/q/3.1.6/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{% set version = "3.1.6" %}

package:
name: q
version: {{ version }}

source:
url: https://github.com/harelba/q/archive/refs/tags/v{{ version }}.tar.gz

requirements:
build:
- python {{ python }}
- setuptools
- six

run:
- python
- six

about:
home: http://harelba.github.io/q/
1 change: 1 addition & 0 deletions conda/q/latest
6 changes: 6 additions & 0 deletions conda/tig/2.5.4/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

./autogen.sh
./configure --prefix=$PREFIX
make
make install

9 changes: 9 additions & 0 deletions conda/tig/2.5.4/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{% set version = "2.5.4" %}

package:
name: tig
version: {{ version }}

source:
url: https://github.com/jonas/tig/releases/download/tig-{{ version }}/tig-{{ version }}.tar.gz
sha256: c48284d30287a6365f8a4750eb0b122e78689a1aef8ce1d2961b6843ac246aa7
6 changes: 6 additions & 0 deletions conda/tig/2.5.5/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

./autogen.sh
./configure --prefix=$PREFIX
make
make install

8 changes: 8 additions & 0 deletions conda/tig/2.5.5/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% set version = "2.5.5" %}

package:
name: tig
version: {{ version }}

source:
url: https://github.com/jonas/tig/releases/download/tig-{{ version }}/tig-{{ version }}.tar.gz
1 change: 1 addition & 0 deletions conda/tig/latest
5 changes: 5 additions & 0 deletions conda/tmux/3.2a/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

./configure --prefix=$PREFIX
make
make install

16 changes: 16 additions & 0 deletions conda/tmux/3.2a/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{% set version = "3.2a" %}

package:
name: tmux
version: {{ version }}

source:
url: https://github.com/tmux/tmux/releases/download/{{ version }}/tmux-{{ version }}.tar.gz

requirements:
build:
- ncurses
- libevent
run:
- ncurses
- libevent
1 change: 1 addition & 0 deletions conda/tmux/latest
6 changes: 6 additions & 0 deletions conda/twf/20211204/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

export GOPATH=$PWD
go install github.com/wvanlint/twf/cmd/twf\@latest
mkdir -p ${PREFIX}/bin
cp ${GOPATH}/bin/twf ${PREFIX}/bin/twf

12 changes: 12 additions & 0 deletions conda/twf/20211204/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% set version = "20211204" %}

package:
name: twf
version: {{ version }}

requirements:
build:
- go >=1.17

about:
home: https://github.com/wvanlint/twf/
1 change: 1 addition & 0 deletions conda/twf/latest
Loading

0 comments on commit f910c82

Please sign in to comment.