Welcome to the Gentoo Racket project!

Currently our projects' home is the official GitLab instance. They can be found at gitlab.com/gentoo-racket .

Origianlly they were split between XGQT's and src_prepare's repositories but were later merged into one.

New Racket-PMSF release - version 2.0.0

:: ebuild, gentoo, manifest, release

By: Gentoo-Racket contributors

New Racket-PMSF release is available: 2.0.0.

Racket-PMSF is a library implementing parsing of special syntax defined in the Package Manager Specification document.

Version 2.0.0 is now able to parse Gentoo Manifest files. Manifest support is based on the GLEP 74 document. New release also features a rewrite of all tokenizers to use the brag/support library instead of hacky regex/string-split soup.

To read about currently available Manifest-oriented procedures, see the Manifest section in the PMSF documentation.

PMSF documentation is available via GitLab pages at gentoo-racket.gitlab.io/racket-pmsf or on the official Racket Documentation website at docs.racket-lang.org/pmsf.

New Racket-PMSF release - version 1.0.0

:: gentoo, ebuild, release

By: Gentoo-Racket contributors

New Racket-PMSF release is available: 1.0.0.

Documentation is available via GitLab pages at gentoo-racket.gitlab.io/racket-pmsf.

Racket-PMSF 1.0.0. is now able to parse all special syntax structures from ebuilds:

  • DEPEND
1
(string->pdepend "asd? ( || ( app-misc/asd:= >=app-misc/dsa-1:1=[asd] ) )")
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
(pdepend
 (list
  (pcondition
   "asd"
   (list
    (pcondition
     'inclusive-or
     (list
      (pdependency #f #f (pcomplete "app-misc" (pfull "asd" #f)) #f #f "=" '())
      (pdependency
       #f
       ">="
       (pcomplete
        "app-misc"
        (pfull "dsa" (pversion "1" '() '() '() '() '() 0)))
       #f
       (pslot "1" #f)
       "="
       (list (pdepflag "asd" #f #f)))))))))
  • REQUIRED_USE
1
(string->prequired-use "test? ( debug )")
1
(prequired-use (list (pcondition "test" '("debug"))))
  • RESTRICT
1
(string->prestrict "!test? ( test )")
1
(prestrict (list (pcondition '(not . "test") '("test"))))
  • SLOT
1
(string->pslot "1.2.3/4")
1
(pslot "1.2.3" "4")
  • SRC_URI
1
(string->psrc-uri "amd64? ( https://asd.asd/asd-0_x86.tar -> asd-0.tar )")
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
(psrc-uri
 (list
  (pcondition
   "amd64"
   (list
    (psource
     (url
      "https"
      #f
      "asd.asd"
      #f
      #t
      (list (path/param "asd-0_x86.tar" '()))
      '()
      #f)
     "asd-0.tar")))))
  • package names
1
(string->pcomplete "app-misc/editor-wrapper-1.2.3_alpha4_beta5_pre6_rc7_p8-r9")
1
2
3
(pcomplete "app-misc"
           (pfull "editor-wrapper"
                  (pversion "1.2.3" '("4") '("5") '("6") '("7") '("8") 9)))