module = "tikzphysics"

sourcefiles = {
  "tikzphysics.sty",
  "tikzlibrarytikzphysics*.code.tex",
}
installfiles = sourcefiles

typesetfiles = {"tikzphysics.tex"}
typesetexe = "pdflatex"
typesetopts = "-interaction=nonstopmode -shell-escape"
typesetruns = 2

demofiles = {}
textfiles = {
  "README.md",
  "CHANGELOG.md",
  "LICENSE",
  "build.lua",
  "tikzphysics-help",
}
scriptfiles = {"tikzphysics-help"}
excludefiles = {"*~", "config-*.lua"}

-- Keep examples and regression fixtures in their own directories in the
-- CTAN source archive instead of flattening them into the package root.
tdsdirs = {
  ["examples"] = "examples",
  ["testfiles"] = "testfiles",
}

checkengines = {"pdftex"}
stdengine = "pdftex"
checkruns = 1

uploadconfig = {
  pkg = "tikzphysics",
  version = "1.1.0",
  author = "Vaibhav Blayer",
  uploader = "Vaibhav Blayer",
  email = "vaibhavblayer@gmail.com",
  license = "lppl1.3c",
  topic = {"graphics-in-tex", "pgf-tikz", "physics"},
  summary = "TikZ-native shapes and anchors for classical physics diagrams",
  announcement = [[
tikzphysics 1.1.0 adds continuous straight and circular ramp node shapes,
sampled contact-surface anchors, and exact local tangent and normal guides.
Straight ramps include a labeled acute-angle helper; curved ramps include a
configurable horizontal floor before the arc. A new spring node adds exact
attachment anchors and configurable leads and coil geometry. The update also
includes detailed geometry documentation, complete mechanics examples, and
regression coverage.
  ]],
  description = [[
The tikzphysics package extends TikZ with reusable shapes, styles, keys,
and geometric anchors for classical-physics diagrams.  Version 1.1.0
provides contact surfaces, straight and circular ramps, blocks, springs, and pulleys, and
optical mirrors, lenses, slabs, and prisms.  All objects use ordinary TikZ node and path
syntax, accept unit-aware dimensions, and expose named and parametric
anchors for composing larger diagrams.
  ]],
  ctanPath = "/graphics/pgf/contrib/tikzphysics",
  note = [[
This update adds continuous straight and circular ramp node shapes, sampled
surface anchors, exact local tangent/normal guides, a labeled straight-ramp
angle helper, and a horizontal curved-ramp floor, together with detailed
documentation, a configurable spring node, complete examples, and regression
coverage.
  ]],
  update = true,
}
