aboutsummaryrefslogtreecommitdiff
blob: 16644e7c428b0b4a84271a7d33e9831a3bf2f696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# package rules file
#
#  This file lists a few examples.
#  Refer to "Package Rules" in the usage guide (doc/rst/usage.rst or
#  doc/html/usage.html).
#

# per-repo categories
#
#  The following rule puts packages from CRAN and its archive into sci-CRAN,
#  packages from BIOC-2.10/bioc, BIOC-2.10/experiment into sci-BIOC,
#  omegahat into sci-omegahat etc., while leaving packages from a few
#  repos (R-Forge and rstan) in the default category.
#
MATCH:
   or
   * repo R-Forge
   * repo rstan
ACTION:
   # use default category
   pass
ELSE:
   rename category s=^(?P<repo>[^-/]+)([-/].*)?$=sci-\g<repo>=
END;

## uncomment to move all source files into a separate directory
#MATCH:
#   any
#ACTION:
#   set destfile R_packages/{package_filename}
#END;