mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
devel/py-jsonsir: Convert to USE_PYTHON=pep517
- Change MASTER_SITES from GitHub to PYPI - Add NO_ARCH - Bump PORTREVISION for package change
This commit is contained in:
parent
2cad91ad5a
commit
3e20a8ce43
3 changed files with 22 additions and 8 deletions
|
@ -1,7 +1,10 @@
|
|||
PORTNAME= jsonsir
|
||||
PORTVERSION= 0.0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= JsonSir-${PORTVERSION}
|
||||
|
||||
MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= Serializer for JSON-like data in Python
|
||||
|
@ -9,12 +12,12 @@ WWW= https://github.com/RussellLuo/jsonsir
|
|||
|
||||
LICENSE= MIT
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
||||
GH_ACCOUNT= RussellLuo
|
||||
GH_TAGNAME= af866cb
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1547201442
|
||||
SHA256 (RussellLuo-jsonsir-0.0.2-af866cb_GH0.tar.gz) = f6ecae04e48aaf47d11a99d842e49fa0af9e5573ba53150be72561f9fa330518
|
||||
SIZE (RussellLuo-jsonsir-0.0.2-af866cb_GH0.tar.gz) = 2907
|
||||
TIMESTAMP = 1720023786
|
||||
SHA256 (JsonSir-0.0.2.tar.gz) = 401447c5e931f7887851ce9bf2407fe34d5aab0b1467bb24bbbf3b760e5bd3fb
|
||||
SIZE (JsonSir-0.0.2.tar.gz) = 2160
|
||||
|
|
11
devel/py-jsonsir/files/patch-setup.py
Normal file
11
devel/py-jsonsir/files/patch-setup.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- setup.py.orig 2015-01-16 11:04:40 UTC
|
||||
+++ setup.py
|
||||
@@ -6,7 +6,7 @@ setup(
|
||||
description = 'A serializer for JSON-like data in Python.'
|
||||
|
||||
setup(
|
||||
- name='JsonSir',
|
||||
+ name='jsonsir',
|
||||
version='0.0.2',
|
||||
author='RussellLuo',
|
||||
author_email='luopeng.he@gmail.com',
|
Loading…
Add table
Reference in a new issue