pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/meta-pkgs/nltk_data
Module Name: pkgsrc
Committed By: wiz
Date: Wed May 3 09:37:31 UTC 2023
Modified Files:
pkgsrc/meta-pkgs/nltk_data: common.mk split.py
Log Message:
nltk_data: update MASTER_SITES
fix typo in script, update date
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/meta-pkgs/nltk_data/common.mk
cvs rdiff -u -r1.1 -r1.2 pkgsrc/meta-pkgs/nltk_data/split.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/meta-pkgs/nltk_data/common.mk
diff -u pkgsrc/meta-pkgs/nltk_data/common.mk:1.3 pkgsrc/meta-pkgs/nltk_data/common.mk:1.4
--- pkgsrc/meta-pkgs/nltk_data/common.mk:1.3 Thu Mar 16 11:06:02 2023
+++ pkgsrc/meta-pkgs/nltk_data/common.mk Wed May 3 09:37:31 2023
@@ -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@localhost
Index: pkgsrc/meta-pkgs/nltk_data/split.py
diff -u pkgsrc/meta-pkgs/nltk_data/split.py:1.1 pkgsrc/meta-pkgs/nltk_data/split.py:1.2
--- pkgsrc/meta-pkgs/nltk_data/split.py:1.1 Wed Nov 24 15:56:18 2021
+++ pkgsrc/meta-pkgs/nltk_data/split.py Wed May 3 09:37:31 2023
@@ -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)
Home |
Main Index |
Thread Index |
Old Index