diff options
author | Nick Smallbone <nick@smallbone.se> | 2024-10-06 17:02:05 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-10-08 10:13:31 +0700 |
commit | 4b4ae6b8524ddbdc859afb69b487969bd22faef8 (patch) | |
tree | 94b3dc862575d0ec20e45a24712fe7a785af1833 /development/nim/remove-missing-documentation.patch | |
parent | dcb4f499353387b6725503a479e83003b8ac9ea4 (diff) |
development/nim: Updated for version 2.2.0; new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/nim/remove-missing-documentation.patch')
-rw-r--r-- | development/nim/remove-missing-documentation.patch | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/development/nim/remove-missing-documentation.patch b/development/nim/remove-missing-documentation.patch new file mode 100644 index 0000000000..0c88be760c --- /dev/null +++ b/development/nim/remove-missing-documentation.patch @@ -0,0 +1,108 @@ +diff -ur nim-2.2.0-orig/doc/lib.md nim-2.2.0/doc/lib.md +--- nim-2.2.0-orig/doc/lib.md 2024-10-04 13:48:24.723391623 +0200 ++++ nim-2.2.0/doc/lib.md 2024-10-06 14:28:26.817978213 +0200 +@@ -163,9 +163,6 @@ + * [objectdollar](objectdollar.html) + A generic `$` operator to convert objects to strings. + +-* [punycode](punycode.html) +- Implements a representation of Unicode with the limited ASCII character subset. +- + * [strbasics](strbasics.html) + Some high performance string operations. + +@@ -326,9 +323,6 @@ + * [asyncfile](asyncfile.html) + An asynchronous file reading and writing using `asyncdispatch`. + +-* [asyncftpclient](asyncftpclient.html) +- An asynchronous FTP client using the `asyncnet` module. +- + * [asynchttpserver](asynchttpserver.html) + An asynchronous HTTP server using the `asyncnet` module. + +@@ -364,9 +358,6 @@ + A selector API with backends specific to each OS. + Supported OS primitives: `epoll`, `kqueue`, `poll`, and `select` on Windows. + +-* [smtp](smtp.html) +- A simple SMTP client with support for both synchronous and asynchronous operation. +- + * [socketstreams](socketstreams.html) + An implementation of the streams interface for sockets. + +@@ -603,26 +594,6 @@ + Many help functions for handling regular expressions. + The current implementation uses PCRE. + +-Database support +----------------- +- +-* [db_mysql](db_mysql.html) +- A higher level MySQL database wrapper. The same interface is implemented +- for other databases too. +- +-* [db_odbc](db_odbc.html) +- A higher level ODBC database wrapper. The same interface is implemented +- for other databases too. +- +-* [db_postgres](db_postgres.html) +- A higher level PostgreSQL database wrapper. The same interface is implemented +- for other databases too. +- +-* [db_sqlite](db_sqlite.html) +- A higher level SQLite database wrapper. The same interface is implemented +- for other databases too. +- +- + Generic Operating System Services + --------------------------------- + +diff -ur nim-2.2.0-orig/tools/kochdocs.nim nim-2.2.0/tools/kochdocs.nim +--- nim-2.2.0-orig/tools/kochdocs.nim 2024-10-04 13:48:24.101395116 +0200 ++++ nim-2.2.0/tools/kochdocs.nim 2024-10-06 14:36:17.704553470 +0200 +@@ -94,7 +94,6 @@ + execFold(desc, cmd) + + const officialPackagesMarkdown = """ +-pkgs/atlas/doc/atlas.md + """.splitWhitespace() + + proc getMd2html(): seq[string] = +@@ -158,28 +157,9 @@ + """.splitWhitespace() + + officialPackagesList = """ +-pkgs/asyncftpclient/src/asyncftpclient.nim +-pkgs/smtp/src/smtp.nim +-pkgs/punycode/src/punycode.nim +-pkgs/db_connector/src/db_connector/db_common.nim +-pkgs/db_connector/src/db_connector/db_mysql.nim +-pkgs/db_connector/src/db_connector/db_odbc.nim +-pkgs/db_connector/src/db_connector/db_postgres.nim +-pkgs/db_connector/src/db_connector/db_sqlite.nim +-pkgs/checksums/src/checksums/md5.nim +-pkgs/checksums/src/checksums/sha1.nim +-pkgs/checksums/src/checksums/sha2.nim +-pkgs/checksums/src/checksums/sha3.nim +-pkgs/checksums/src/checksums/bcrypt.nim +-pkgs/htmlparser/src/htmlparser.nim + """.splitWhitespace() + + officialPackagesListWithoutIndex = """ +-pkgs/db_connector/src/db_connector/mysql.nim +-pkgs/db_connector/src/db_connector/sqlite3.nim +-pkgs/db_connector/src/db_connector/postgres.nim +-pkgs/db_connector/src/db_connector/odbcsql.nim +-pkgs/db_connector/src/db_connector/private/dbutils.nim + """.splitWhitespace() + + when (NimMajor, NimMinor) < (1, 1) or not declared(isRelativeTo): +@@ -348,7 +328,6 @@ + proc buildDocsDir*(args: string, dir: string) = + let args = nimArgs & " " & args + let docHackJsSource = buildJS() +- gitClonePackages(@["asyncftpclient", "punycode", "smtp", "db_connector", "checksums", "atlas", "htmlparser"]) + createDir(dir) + buildDocSamples(args, dir) + |