nltk_data: update MASTER_SITES
fix typo in script, update date
This commit is contained in:
parent
4671c60c2d
commit
a21d33ebcb
2 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: common.mk,v 1.3 2023/03/16 11:06:02 jperkin Exp $
|
||||
# $NetBSD: common.mk,v 1.4 2023/05/03 09:37:31 wiz Exp $
|
||||
|
||||
MASTER_SITES= https://github.com/nltk/nltk_data/raw/ee3fb3aecd8bce44a44e2303d679fe32c0ec437b/packages/${TYPE}/
|
||||
MASTER_SITES?= https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/${TYPE}/
|
||||
EXTRACT_SUFX?= .zip
|
||||
|
||||
MAINTAINER?= pkgsrc-users@NetBSD.org
|
||||
|
|
|
@ -24,10 +24,10 @@ for child in root[0]:
|
|||
subdir = child.attrib["subdir"]
|
||||
url = child.attrib["url"]
|
||||
with open(path + "/Makefile", "w") as f:
|
||||
print(f"""# $NetBSD: split.py,v 1.1 2021/11/24 15:56:18 wiz Exp $
|
||||
print(f"""# $NetBSD: split.py,v 1.2 2023/05/03 09:37:31 wiz Exp $
|
||||
|
||||
DISTNAME= {id}
|
||||
PKGNAME= nltk_data-{id}-20211124
|
||||
PKGNAME= nltk_data-{id}-20230502
|
||||
CATEGORIES= textproc
|
||||
DIST_SUBDIR= ${{PKGNAME_NOREV}}
|
||||
|
||||
|
@ -45,5 +45,5 @@ TYPE= {subdir}
|
|||
|
||||
This package contains data from/for {name}.""", file=f)
|
||||
with open(path + "/PLIST", "w") as f:
|
||||
print(f"""@comment $NetBSD: split.py,v 1.1 2021/11/24 15:56:18 wiz Exp $
|
||||
share/nltk/{subdir}/{id}.zip""", file=f)
|
||||
print(f"""@comment $NetBSD: split.py,v 1.2 2023/05/03 09:37:31 wiz Exp $
|
||||
share/nltk_data/{subdir}/{id}.zip""", file=f)
|
||||
|
|
Loading…
Reference in a new issue