devel/pybugz: recognize *.diff and *.patch as text/plain

Also, make these two extensions automatically raise the patch flag.
Also, make the patch flag set content type to text/plain, unless
mimetypes was able to say something.

Approved by:	bugmeister
This commit is contained in:
Gleb Smirnoff 2024-03-29 13:50:57 -07:00
parent 7f3929877f
commit 9c477091ce
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= pybugz
DISTVERSION= 0.14
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -18,7 +18,7 @@ USE_GITHUB= yes
USE_PYTHON= autoplist distutils
GH_ACCOUNT= glebius
GH_TAGNAME= a583724
GH_TAGNAME= c45eb4b
post-patch:
${REINPLACE_CMD} -e 's,/usr,${PREFIX},' \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1705522967
SHA256 (glebius-pybugz-0.14-a583724_GH0.tar.gz) = 027691570772a18dcdb4571e43cab627f67d9088bd89e887d8ba01ed18bcebfb
SIZE (glebius-pybugz-0.14-a583724_GH0.tar.gz) = 28226
TIMESTAMP = 1711740331
SHA256 (glebius-pybugz-0.14-c45eb4b_GH0.tar.gz) = 560e34c3542cf46ce0bb3174a30a84170e03441e27e232c682b62084737ea754
SIZE (glebius-pybugz-0.14-c45eb4b_GH0.tar.gz) = 28268