rseqc: rm temp fix considering upstream

This commit is contained in:
Kuoi 2024-02-14 19:03:06 +08:00
parent 7ea367abdc
commit 884ee43629
3 changed files with 7 additions and 14 deletions

View file

@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="An RNA-seq Quality Control Package"
arch=('any')
url="http://rseqc.sourceforge.net/"
license=('UNKNOWN')
license=('GPL-3.0-only')
depends=('python' 'python-bx' 'python-pysam' 'python-numpy' 'python-pybigwig' 'cython')
makedepends=('python-setuptools' 'python-pip')
source=("https://sourceforge.net/projects/rseqc/files/RSeQC-${pkgver}.tar.gz")
@ -22,8 +22,7 @@ build() {
package() {
cd "$srcdir/RSeQC-${pkgver}"
python setup.py install --root="$pkgdir" --optimize=1
# these files owned by python-bx.
cd ${pkgdir}/usr/lib/python3.10/site-packages/
rm -rf __pycache__ psyco_full.py
# cd ${pkgdir}/usr/lib/python3.10/site-packages/
# rm -rf __pycache__ psyco_full.py
}

View file

@ -1,10 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
def post_build():
git_add_files('PKGBUILD')
git_commit()

View file

@ -2,6 +2,10 @@ build_prefix: extra-x86_64
maintainers:
- github: sukanka
email: su975853527@gmail.com
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver)
post_build_script: |
git_pkgbuild_commit()
repo_depends:
- python-pybigwig
- python-bx