pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-poyo py-poyo: updated to 0.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c837e4a0ea4
branches:  trunk
changeset: 409001:5c837e4a0ea4
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jan 14 21:35:45 2020 +0000

description:
py-poyo: updated to 0.5.0

0.5.0
Features
* Add support for multiline strings

    ```yaml
    longtext: >
        This is a multiline string.
        It can contain all manners of characters.

        Single line breaks are ignored,
        but blank linkes cause line breaks.
    ```

Bugfixes
* Fix link to poyo on PyPI
* Trim trailing whitespace in variable

Improvements
* Update project to use src directory
* Convert rst files to md
* Reformat code base with black

diffstat:

 textproc/py-poyo/Makefile |  14 +++++++++-----
 textproc/py-poyo/distinfo |  10 +++++-----
 2 files changed, 14 insertions(+), 10 deletions(-)

diffs (45 lines):

diff -r 4683103cc5de -r 5c837e4a0ea4 textproc/py-poyo/Makefile
--- a/textproc/py-poyo/Makefile Tue Jan 14 20:56:29 2020 +0000
+++ b/textproc/py-poyo/Makefile Tue Jan 14 21:35:45 2020 +0000
@@ -1,17 +1,21 @@
-# $NetBSD: Makefile,v 1.1 2018/02/14 16:54:24 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2020/01/14 21:35:45 adam Exp $
 
-DISTNAME=      poyo-0.4.0
+DISTNAME=      poyo-0.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    textproc
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=hackebrot/}
-GITHUB_PROJECT=        poyo
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/poyo/}
 
 MAINTAINER=    gde%llew.me@localhost
 HOMEPAGE=      https://github.com/hackebrot/poyo
 COMMENT=       YAML Parser for Python
 LICENSE=       mit
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
 USE_LANGUAGES= # none
 
+do-test:
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4683103cc5de -r 5c837e4a0ea4 textproc/py-poyo/distinfo
--- a/textproc/py-poyo/distinfo Tue Jan 14 20:56:29 2020 +0000
+++ b/textproc/py-poyo/distinfo Tue Jan 14 21:35:45 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/02/14 16:54:24 minskim Exp $
+$NetBSD: distinfo,v 1.2 2020/01/14 21:35:45 adam Exp $
 
-SHA1 (poyo-0.4.0.tar.gz) = 28e72f8495b76c1ea37c2fb1e89848f923ec6b05
-RMD160 (poyo-0.4.0.tar.gz) = 14c4a60920906ad9b39319871ce0f010d38ca271
-SHA512 (poyo-0.4.0.tar.gz) = 93991b9d0f7983e99ef10ef9cc1ac62acbbf2cd24ef78480debf4eb3f4b64744c9e6bbb3fa83bee38fd58a9c1a373369e5eb60c185c0ebe67d7a1475c5b1996e
-Size (poyo-0.4.0.tar.gz) = 10797 bytes
+SHA1 (poyo-0.5.0.tar.gz) = 7ae657fef0a69a9d4ddb708f3e96659d63d44a3d
+RMD160 (poyo-0.5.0.tar.gz) = 65bbe4efb176a4970b9f4aeebafae103fdf85cac
+SHA512 (poyo-0.5.0.tar.gz) = aad4334a2aaf63cafab0ecdbdd6f94e9e3d412e6476d7ac13a4399b4af0f43b1eb910e6a3cc7438e84262bc39413fadbe91674534e1e66f446d738c1328b9905
+Size (poyo-0.5.0.tar.gz) = 15276 bytes



Home | Main Index | Thread Index | Old Index