Skip to content

Commit

Permalink
textproc/py-rich: enable 'make test' by using sources from GitHub
Browse files Browse the repository at this point in the history
The PyPI source bundles don't contain any of the test code.
  • Loading branch information
infracaninophile committed Mar 28, 2023
1 parent 23aeb02 commit dcf820e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion textproc/py-rich/Makefile
@@ -1,7 +1,8 @@
PORTNAME= rich
PORTVERSION= 13.3.3
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= matthew@FreeBSD.org
Expand All @@ -19,6 +20,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown-it-py>=2.1.0<3.0.0:textproc/py-mark
NO_ARCH= yes
USES= python:3.7+
USE_PYTHON= autoplist pep517 pytest
USE_GITHUB= yes

GH_ACCOUNT= Textualize

# poetry-core will process .gitignore when git is present, and fail to
# create a wheel because the 'work' directory is listed there.

BINARY_ALIAS= git=false

Expand Down
6 changes: 3 additions & 3 deletions textproc/py-rich/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1679937132
SHA256 (rich-13.3.3.tar.gz) = dc84400a9d842b3a9c5ff74addd8eb798d155f36c1c91303888e0a66850d2a15
SIZE (rich-13.3.3.tar.gz) = 219231
TIMESTAMP = 1679997566
SHA256 (Textualize-rich-v13.3.3_GH0.tar.gz) = 292990f15b174879ac56638e7e8d7cabb8ccdef8624db607cdfa94827ed23504
SIZE (Textualize-rich-v13.3.3_GH0.tar.gz) = 15060927

0 comments on commit dcf820e

Please sign in to comment.