This figurative and often humorous meaning refers to wanting something very strongly.
He panted for fame and recognition.
Fans were panting for the next episode.
This informal North American use appears mainly in compounds such as pant leg.
One pant leg was shorter than the other.
Mud covered the right pant leg.