blob: 4d051542c5cfccaa5367d15dd72b0814b4a038d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
# Maintainer: Bipin Kumar <bipin@ccmb.res.in>
pkgname=rnalysis
_name=RNAlysis
pkgver=3.10.1
pkgrel=1
pkgdesc='Python-based software for analyzing RNA sequencing data. https://doi.org/10.1101/2022.11.25.517851'
_pkgdesc='Python-based software with GUI for analyzing RNA sequencing data'
arch=(any)
url=https://github.com/GuyTeichman/RNAlysis
license=(MIT)
depends=(
'python'
'cython'
'python-numpy'
'python-pandas'
'python-scipy'
'python-matplotlib'
'python-requests'
'python-scikit-learn'
'python-seaborn'
'python-statsmodels'
'python-joblib'
'python-tqdm'
'python-appdirs'
'python-yaml'
'python-pyqt5'
'python-qdarkstyle'
'qt5-imageformats'
'python-aiodns'
'python-defusedxml'
'python-aiohttp'
'python-brotli'
'python-networkx'
'python-typing_extensions'
'graphviz'
'python-graphviz'
'r'
'cutadapt'
'python-numba'
'python-hdbscan'
'python-matplotlib-venn'
'kallisto'
'python-scikit-learn-extra'
'python-grid-strategy'
'python-upsetplot'
'python-xlmhglite'
'python-plotly'
'python-pairwisedist'
'python-aiolimiter'
'python-pyvis'
)
makedepends=(
'python-pip'
'gendesk'
'twine'
'python-setuptools'
'python-setuptools-scm'
'python-sphinx'
'python-wheel'
'python-installer'
'python-build'
'python-sphinx_rtd_theme'
'python-pytest-runner'
'python-pytest'
'python-anyio'
'python-pytest-xvfb'
'python-pytest-qt'
'python-coverage'
)
source=(${_name}-${pkgver}.tar.gz::https://github.com/GuyTeichman/RNAlysis/archive/refs/tags/V"${pkgver}".tar.gz
)
sha256sums=('d525ce3231526c9e07e0a26e72480ca52175b4522d4a065719b2b9dcc76b4cc2')
prepare() {
cd "$_name-$pkgver"
gendesk --exec='/usr/bin/rnalysis-gui' --pkgname "$_name" --pkgdesc "$_pkgdesc" -n --icon=RNAlysis --categories=Science
}
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
check(){
export QT_DEBUG_PLUGINS=1
cd "$_name-$pkgver"
python setup.py pytest | tee check.log
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 RNAlysis.desktop -t "$pkgdir"/usr/share/applications/
install -Dm644 docs/source/RNAlysis.svg -t "$pkgdir"/usr/share/pixmaps/
}
|