Skip to content

Commit 20e86bf

Browse files
CamCoop1wdconincjmcarcell
authored
b2luigi: new package (spack#2826)
* Added a first version of b2luigi Spack package * Updated the b2luigi package to include the tenacity dependency being introduced after version 1.2.5 * Added the new v1.2.6 to the spack package for b2luigi * Updated b2luigi spack package to use PythonPackage * Passed b2luigi package through styling * Fixed doc string of b2luigi package * Make that one doc string <99 characters * Apply suggestions from code review Update py-tenacity dependency, remove upper limit on python version and add "hep" tag Co-authored-by: Wouter Deconinck <[email protected]> Co-authored-by: Juan Miguel Carceller <[email protected]> --------- Co-authored-by: Wouter Deconinck <[email protected]> Co-authored-by: Juan Miguel Carceller <[email protected]>
1 parent 0844bd0 commit 20e86bf

File tree

1 file changed

+36
-0
lines changed
  • repos/spack_repo/builtin/packages/py_b2luigi

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
2+
#
3+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
4+
5+
from spack_repo.builtin.build_systems.python import PythonPackage
6+
7+
from spack.package import *
8+
9+
10+
class PyB2luigi(PythonPackage):
11+
"""b2luigi is a helper package constructed around luigi that helps you schedule working
12+
packages (so-called tasks) locally or on a batch system. Apart from the very
13+
powerful dependency management system by luigi, b2luigi extends the user interface
14+
and has a built-in support for the queue systems, e.g. LSF and HTCondor."""
15+
16+
homepage = "https://github.com/belle2/b2luigi"
17+
pypi = "b2luigi/b2luigi-1.2.6.tar.gz"
18+
19+
license("GNU")
20+
21+
tags = ["hep"]
22+
23+
# To be decided
24+
# maintainers("github_user1", "github_user2")
25+
26+
# We start at 1.2.6 as this was the change from retry2->tenacity dependency
27+
version("1.2.6", sha256="9f3be756f0961ca2241d36d9a9174ea5a23ebd7787cbfa78632047aae25f1202")
28+
29+
depends_on("[email protected]:", type=("build", "run"))
30+
depends_on("[email protected]:", type=("build", "run"))
31+
depends_on("[email protected]:", type=("build", "run"))
32+
depends_on("[email protected]:", type=("build", "run"))
33+
depends_on("[email protected]:", type=("build", "run"))
34+
depends_on("[email protected]:", type=("build", "run"))
35+
depends_on("py-jinja2", type=("build", "run"))
36+
depends_on("py-tenacity@8", type=("build", "run"))

0 commit comments

Comments
 (0)