spack/var/spack/repos/spack_repo/builtin/packages/denovogear/package.py
Harmen Stoppels b932c14008
builtin: use api v2.0 and update dir structure (#49275)
* Bump the package API of the `builtin` repo to `v2.0`
* Move `var/spack/repos/builtin` -> `var/spack/repos/spack_repo/builtin`
* Move test repos `var/spack/repos/{builtin.mock,tutorial,...}` -> `var/spack/test_repos/`
* Update package dir names to v2 format (`-` -> `_` etc)
* Change absolute imports `from spack.pkg.builtin.my_pkg ...` to relative imports `from ..my_pkg.package ...`

Users who have a repo on top of builtin should change imports from

```python
from spack.pkg.builtin.my_pkg import MyPkg
```

to

```python
from spack_repo.builtin.packages.my_pkg.package import MyPkg
```

and can configure their editors with

```
PYTHONPATH=$spack/lib/spack:$spack/var/spack/repos
```

[skip-verify-checksums]
2025-05-06 12:05:44 +02:00

38 lines
1.3 KiB
Python

# Copyright Spack Project Developers. See COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class Denovogear(CMakePackage):
"""DeNovoGear is a software package to detect de novo mutations using
next-generation sequencing data. It supports the analysis of many
differential experimental designs and uses advanced statistical models
to reduce the false positve rate."""
homepage = "https://github.com/denovogear/denovogear"
url = "https://github.com/denovogear/denovogear/archive/v1.1.1.tar.gz"
license("GPL-3.0-or-later")
version("1.1.1", sha256="799fe99193e9cf12320893cf020a3251022f60a49de8677a1c5a18c578fe4be2")
version("1.1.0", sha256="f818f80cd67183294c8aae312cad8311e6a9abede1f687567bb079d29f79c005")
depends_on("c", type="build") # generated
depends_on("cxx", type="build") # generated
depends_on("cmake@3.1:", type=("build"))
depends_on(
"boost@1.47:1.60"
"+exception+filesystem+system+serialization+graph+iostreams+regex+math+container",
type="build",
)
depends_on("htslib@1.2:", type=("build"))
depends_on("eigen", type=("build"))
depends_on("zlib-api", type=("link"))
patch("stream-open.patch", when="@:1.1.1")
# fix: ordered comparison between pointer and zero.
patch("newmat6.cpp.patch")