Skip to content

Commit

Permalink
www/py-formencode: Update version 1.3.0=>2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wenheping authored and 5u623l20 committed Feb 20, 2023
1 parent aa7aa94 commit f277456
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1,554 deletions.
15 changes: 9 additions & 6 deletions www/py-formencode/Makefile
@@ -1,5 +1,5 @@
PORTNAME= formencode
PORTVERSION= 1.3.0
PORTVERSION= 2.0.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,17 +11,20 @@ WWW= https://www.formencode.org/

LICENSE= PSFL

OPTIONS_DEFINE= DOCS
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR}

USES= dos2unix gettext-runtime:run python:3.6+ zip
USE_PYTHON= distutils autoplist
USES= dos2unix gettext-runtime:run python:3.6+
USE_PYTHON= autoplist distutils

DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
NO_ARCH= yes

DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= *

post-install:
OPTIONS_DEFINE= DOCS

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

Expand Down
5 changes: 3 additions & 2 deletions www/py-formencode/distinfo
@@ -1,2 +1,3 @@
SHA256 (FormEncode-1.3.0.zip) = e6757280244a0d04e9cef51beeeafb4124087c27b7944c7d41341d0a30f7af78
SIZE (FormEncode-1.3.0.zip) = 347674
TIMESTAMP = 1676336425
SHA256 (FormEncode-2.0.1.tar.gz) = 8f2974112c2557839d5bae8b76490104c03830785d923abbdef148bf3f710035
SIZE (FormEncode-2.0.1.tar.gz) = 256130

0 comments on commit f277456

Please sign in to comment.