import/cran: Add more invalid package names and translations.

These were encountered in a mass import of Bioconductor packages.

* guix/import/cran.scm (invalid-packages): Add "rtools".
(transform-sysname): Add aliases for Python and bioinformatics packages.

Change-Id: I97e13cee10c2ee85d4b9296d91afccbdbcec4946
This commit is contained in:
Ricardo Wurmus 2024-01-16 22:36:39 +01:00
parent 171ac4fa4f
commit 01bf69177d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -412,6 +412,7 @@ (define invalid-packages
"linux"
"libR"
"none"
"rtools"
"unix"
"windows"
"xcode"
@ -429,6 +430,9 @@ (define (transform-sysname sysname)
("freetype2" "freetype")
("gettext" "gnu-gettext")
("gmake" "gnu-make")
("h5py" "python-h5py")
("hmmer3" "hmmer")
("leidenalg" "python-leidenalg")
("libarchive-devel" "libarchive")
("libarchive_dev" "libarchive")
("libbz2" "bzip2")
@ -445,10 +449,17 @@ (define (transform-sysname sysname)
("libz-dev" "zlib")
("mariadb-devel" "mariadb")
("mysql56_dev" "mariadb")
("nodejs" "node")
("numpy" "python-numpy")
("openssl-devel" "openssl")
("openssl@1.1" "openssl-1.1")
("pandas" "python-pandas")
("pandoc-citeproc" "pandoc")
("python3" "python-3")
("pytorch" "python-pytorch")
("scikit-learn" "python-scikit-learn")
("scipy" "python-scipy")
("sklearn" "python-scikit-learn")
("sqlite3" "sqlite")
("svn" "subversion")
("tcl/tk" "tcl")