Skip to content

Commit

Permalink
contrib/python-pysol_cards: new package (0.16.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekopsykose committed Jun 8, 2024
1 parent ac087dc commit 1c2770f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
10 changes: 10 additions & 0 deletions contrib/python-pysol_cards/patches/nocov.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/setup.cfg
+++ b/setup.cfg
@@ -8,7 +8,6 @@

[tool:pytest]
norecursedirs = .git
-addopts = --cov=pysol_cards --cov-report term-missing

[coverage:run]
branch = True
25 changes: 25 additions & 0 deletions contrib/python-pysol_cards/template.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
pkgname = "python-pysol_cards"
pkgver = "0.16.0"
pkgrel = 0
build_style = "python_pep517"
hostmakedepends = [
"python-build",
"python-installer",
"python-setuptools",
"python-wheel",
]
depends = [
"python-random2",
"python-six",
]
checkdepends = ["python-pytest"] + depends
pkgdesc = "Python module for dealing cards like various solitaire games"
maintainer = "psykose <alice@ayaya.dev>"
license = "MIT"
url = "https://github.com/shlomif/pysol_cards"
source = f"$(PYPI_SITE)/p/pysol_cards/pysol_cards-{pkgver}.tar.gz"
sha256 = "0b87ca7b3f99155cccd3cfd739f739f7744d6f8198222c6d493a034a3d4570c3"


def post_install(self):
self.install_license("LICENSE")

0 comments on commit 1c2770f

Please sign in to comment.